Some quests require you to place the items into the trade window in the order in which they were requested. I know this is true with the old warrior quest armor. I put them in wrong the first time then went back to check the order that they were asked for. When I placed them in the requested order, starting at the top of the trade window and moving straight down, I received the weapon.