Mantis Bug Tracker

View Revisions: Issue #10476 All Revisions ] Back to Issue ]
Summary 0010476: Forbidding an item in transit to a display case results in cancellation spam
Revision 2017-12-27 11:32 by lethosor
Description See title - this results in repeated "<dwarf> cancels Put Item on Display: Job item lost or destroyed" spam. Cancelling the item display with "c" and then adding any item results in spam again. Destroying the display case and rebuilding it stops the spam.

The vector of jobs in the display case building (building_display_furniturest) still contains a job when this occurs. Emptying the vector appears to stop the issue, but also might leak memory, so there's probably a better fix than that.
Revision 2017-12-27 11:32 by lethosor
Description See title - this results in repeated "<dwarf> cancels Put Item on Display: Job item lost or destroyed" spam. Cancelling the item display with "c" and then adding any item results in spam again. Destroying the display case and rebuilding it stops the spam.

It appears that the vector of jobs in the display case building (building_display_furniturest) still contains a job when this occurs. Emptying the vector appears to stop the issue, but also might leak memory, so there's probably a better fix than that.


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker