WaresQueue stock level configuration is ignored when work fails in Productionsites

Bug #871401 reported by SirVer on 2011-10-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

In r6022 the new feature was merged that WaresQueues can be resized and the wares are given back to the economy. Unfortunately this does not work properly when the production fails in the productionsite.

To reproduce:
- build a wood hardener, let it fill with trunks
- while it works, reduce the number of trunks you want in the wood hardener to 1
- after successful working, he will return the trunks to your economy
- now reduce the number of trunks you want in the hardener to 0
-> he will never give them back.

I was unable to run this down in the last hour, so I just pushed it anyways to get more feedback for the feature.

SirVer (sirver) wrote :

Fixed in r6055

Changed in widelands:
status: Confirmed → Fix Committed
assignee: SirVer (sirver) → nobody
SirVer (sirver) wrote :

Released in build17-rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers