Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000319Dwarf FortressDwarf Mode -- Militarypublic2010-04-03 15:472012-04-14 19:18
Toady One 
0000319: Militia commander/captain positions are assignable on the nobles screen, but silently change back
Militia commander / militia captain positions get created and assigned automatically when you create squads.

You can manually 'r'eplace the assignee from the 'n'obles screen, and it appears to take effect, but:

1) when you visit the 'm'ilitary screen, there is no actual change to the squad
2) after visiting the 'm'ilitary screen, the assignee has silently switched back to the real squad leader

Probably the simplest fix is to just prevent 'r'eplacing the military positions (unless there is some reason for wanting the leadership position not match the squad leader that I don't understand)
Create a squad from the 'm'ilitary screen.
Go to the 'n'obles screen, note the militia commander is assigned to the squad leader.
'r'eplace the militia commander with some other dwarf.
Unpause, wait a bit, go back to 'n'obles, the other dwarf is still assigned.
Go to the 'm'ilitary screen, note that the actual squad leader has not changed.
Go to the 'n'obles screen, note that the militia commander has reset back to the real squad leader again.
administrative positions, militia
parent of 0001296resolved Toady One Expedition leader assigned as the militia commander mysteriously unappoints himself 
has duplicate 0000898closed Footkerchief 0.31.02: Can't replace dead militia commander 
has duplicate 0000977closed Footkerchief Military noble reassignments from the nobles screen are reverted by the military screen 
related to 0000266resolved Toady One Multiple Militia captain positions available for militia commander 
related to 0000536resolved Toady One Crash after unpausing - militia commander's squad info doesn't point back at squad 
related to 0003788resolved Footkerchief Military dissapears 
Issue History
2010-04-03 15:47oliverNew Issue
2010-04-03 15:48oliverNote Added: 0000694
2010-04-03 15:49oliverTag Attached: administrative positions
2010-04-03 15:49oliverTag Attached: militia
2010-04-10 11:14FootkerchiefRelationship addedhas duplicate 0000898
2010-04-10 15:15FelbloodIssue Monitored: Felblood
2010-04-11 00:42FootkerchiefRelationship addedhas duplicate 0000977
2010-04-18 11:35FootkerchiefRelationship addedparent of 0001296
2010-04-18 11:36FootkerchiefSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1364#r1364
2010-05-21 10:10FootkerchiefRelationship addedrelated to 0000266
2010-06-13 12:56FootkerchiefRelationship addedrelated to 0000536
2010-06-15 02:53Toady OneNote Added: 0008478
2010-06-15 02:53Toady OneStatusnew => resolved
2010-06-15 02:53Toady OneFixed in Version => 0.31.07
2010-06-15 02:53Toady OneResolutionopen => fixed
2010-06-15 02:53Toady OneAssigned To => Toady One
2012-04-14 19:18FelbloodIssue End Monitor: Felblood
2014-01-22 11:24FootkerchiefRelationship addedrelated to 0003788

2010-04-03 15:48   
Second-to-last reproduction step should refer to the 'm'ilitary screen, not squad screen. (Any way to edit the original report? I don't see an option for that)
Toady One   
2010-06-15 02:53   
This should be sorted out for 0.31.07.