I had several build orders in the barracks when I got some steel swords from a trade. I wanted to build some soldiers first so I cancelled the builds that where waiting, expecting the resources I put in them to return. I only got the settles back, the brew and weapons I did not get back. Was this a glitch/bug or a design feature? If it is a desgin feature please add a warning as it is not obvious that this will happen.