Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000074Dwarf FortressDwarf Mode -- Jobs, Activity Zonespublic2010-04-01 19:072010-06-11 12:07
Toady One 
0000074: Zones not getting cleaned up after removal (persist after save/load too)
I tried placing ponds to get them to water(muddy) some tiles underground on sandy clay loam. That didn't work obviously, having got the "inappropriate building" job cancellation notice.

So I removed the zones, but the "Fill Pond" jobs were still in the "Job List" screen and the zones were still in the "Building List". They still point to the old location if you zoom to them.

Then I tried to place a garbage dump and then removed it but the zone was still in the "Building List".
1. Place a zone (pond or dump known)
2. Remove the zone
3. View the zone in the "Building List"
related to 0000154resolved Footkerchief Pond zone removed itself leaving forgotten buckets 
related to 0001173resolved Toady One Dwarves refuse to haul accessible items until they've hauled ones that are currently inaccessible 
related to 0001554resolved Toady One Items not getting dumped because of invisible, unremovable zones  
parent of 0001652resolved Toady One Setting an animal to a pit then deleting the zone did not remove the job 
has duplicate 0000679closed Footkerchief removal of pond zone doesn't remove "Fill Pond" job from 'j'obs screen 
has duplicate 0000971closed Footkerchief Zone a pond on land after the zone is deleted, the job to fill pond never gets deleted and dwarves never return the buckets used 
has duplicate 0001213closed Footkerchief Zone tasks appear in job list after zone is removed. 
has duplicate 0002182closed Logical2u Removed Zones not removed from the Building List 
has duplicate 0000932resolved Dwarfu Removed Zones not removed from the Room List 
related to 0001735new  Dwarves seem restricted to a burrow that does not exist anymore 
Issue History
2010-04-01 19:07GreyhawkNew Issue
2010-04-01 22:43GreyhawkNote Added: 0000111
2010-04-02 06:27TodestoolTag Attached: zone
2010-04-02 11:02Deadman DJNote Added: 0000234
2010-04-02 20:29GreyhawkIssue Monitored: Greyhawk
2010-04-03 14:27DoctorZuberNote Added: 0000660
2010-04-03 14:29DoctorZuberNote Edited: 0000660bug_revision_view_page.php?bugnote_id=0000660#r167
2010-04-03 14:55DoctorZuberNote Edited: 0000660bug_revision_view_page.php?bugnote_id=0000660#r175
2010-04-07 05:39Dame de la LicorneIssue Monitored: Dame de la Licorne
2010-04-11 00:38FootkerchiefRelationship addedparent of 0000679
2010-04-11 00:39FootkerchiefRelationship addedparent of 0000154
2010-04-11 00:39FootkerchiefRelationship addedparent of 0000971
2010-04-11 13:39Rafal99Note Added: 0002872
2010-04-14 21:37smjjamesNote Added: 0003620
2010-04-15 17:49FootkerchiefRelationship deletedparent of 0000679
2010-04-15 17:49FootkerchiefRelationship addedparent of 0000679
2010-04-15 17:50FootkerchiefRelationship deletedparent of 0000971
2010-04-15 17:52FootkerchiefRelationship replacedhas duplicate 0000679
2010-04-15 17:52FootkerchiefRelationship addedhas duplicate 0000971
2010-04-15 17:52FootkerchiefRelationship addedhas duplicate 0001213
2010-04-16 09:14JinalealiaIssue Monitored: Jinalealia
2010-04-26 10:49EvilGrinNote Added: 0005144
2010-04-26 10:50EvilGrinNote Edited: 0005144bug_revision_view_page.php?bugnote_id=0005144#r1814
2010-04-26 19:11FootkerchiefRelationship addedrelated to 0001173
2010-04-26 19:16FootkerchiefRelationship addedparent of 0001554
2010-04-26 20:04FootkerchiefSticky IssueNo => Yes
2010-04-27 03:12fake_robotNote Added: 0005317
2010-04-27 13:46wonmeanNote Added: 0005388
2010-04-28 14:03FootkerchiefCategoryGeneral => Dwarf Mode -- Jobs, Activity Zones
2010-04-30 06:15Logical2uRelationship addedparent of 0001652
2010-04-30 12:59hyndisNote Added: 0005764
2010-05-05 00:17FootkerchiefRelationship addedrelated to 0001735
2010-05-11 17:18EvilGrinIssue Monitored: EvilGrin
2010-05-15 23:50immibisNote Added: 0006750
2010-06-06 00:35Toady OneRelationship replacedrelated to 0000154
2010-06-06 00:43Toady OneRelationship replacedrelated to 0001554
2010-06-06 00:44Toady OneNote Added: 0007765
2010-06-06 00:44Toady OneStatusnew => resolved
2010-06-06 00:44Toady OneFixed in Version => 0.31.06
2010-06-06 00:44Toady OneResolutionopen => fixed
2010-06-06 00:44Toady OneAssigned To => Toady One
2010-06-06 05:06Dame de la LicorneIssue End Monitor: Dame de la Licorne
2010-06-06 06:55Logical2uRelationship addedhas duplicate 0002182
2010-06-06 09:37FootkerchiefSticky IssueYes => No
2010-06-06 09:49GreyhawkIssue End Monitor: Greyhawk
2010-06-09 06:45Toady OneStatusresolved => closed
2010-06-09 07:56FootkerchiefStatusclosed => resolved
2010-06-11 12:07JinalealiaIssue End Monitor: Jinalealia
2010-08-27 00:41DwarfuRelationship addedhas duplicate 0000932

2010-04-01 22:43   
To work around, I found setting it from 'rectangle' to 'Flow' or 'Floor Flow' then in the remove zone mode press SHIFT-X would clean it up properly.
Deadman DJ   
2010-04-02 11:02   
I encountered this on XP Pro SP3. It seems that any kind of zone will work for this.
2010-04-03 14:27   
(edited on: 2010-04-03 14:55)
I see it too. it's still there in the (R) building list.

And apparently having walls placed on one or more of the old zone tiles prevents removal with your workaround too.... *sigh* guess I need to tear some walls down, again...

okay, well that didn't work. the murky pond had a tile I couldn't reach with flow removal, so I may be stuck with that zone.

I did discover an alternate workaround, if your zone still exists you can neatly remove it by selecting it and using shift x without needing to mess with flow select or anything.

2010-04-11 13:39   
Just discovered this bug.
Now I have 8 'zombie' zones, that are still in rooms list. But cannot be selected or removed in any way... :/
2010-04-14 21:37   
Still there in .03
2010-04-26 10:49   
(edited on: 2010-04-26 10:50)
Also discovered this bug persists through a Fortress Abandon/Reclaim. So whatever is causing it is getting saved in the with the region data rather than the fortress save (!).

2010-04-27 03:12   
I am also getting the phantom fill pond jobs after zone deletion. Also, Greyhawk, you have to fill a pond from 1z above, so you'd have to have the area you want to muddy, then 1 z above it have a channeled hole where you would place the pond zone, this will allow your dorfs to throw water into the hole, they won't afaik just throw it onto a floor tile.
2010-04-27 13:46   
I've found that if you deactivate your zone (in this case, a pond) by pressing 'a' before deleting, the job screen item no longer shows up.

I'm not sure about the Shift-R screen, however.
2010-04-30 12:59   
You can also deactivate it by turning off the fill pond task. Without that task on the zone the job will instantly be canceled and the dwarf will haul the bucket back to the stockpile.

Once its deactivate you can remove the zone with no problems.

The issue seems to be that removing the zone does not automatically remove the task, and if you remove the zone without first removing the task it becomes impossible to ever remove the task because it can only be done via that zone which no longer exists.
2010-05-15 23:50   
The issue actually seems to be that 0-tile zones do not get deleted properly. If you press shift-x to delete the entire zone at once, the zone gets deleted immediately. If you remove all the tiles from the zone, it doesn't, and there's no way to delete it because it has no tiles to put the cursor on.
Toady One   
2010-06-06 00:44   
This has been fixed for 0.31.06. You should delete zones with shift+X until then. Even trimming down zones can be problematic for hospital zones, so hold off on that until 0.31.06.