[go: up one dir, main page]

Menu

#3361 trunk rev f80daa3b2 - server can't do that

Fixed_trunk
pending-fixed
None
6
2024-07-30
2024-07-24
Lone_Wolf
No

trunk rev f80daa3b2 .
Just after cashing in a treasure train I got message 'the server can't do that' .

log shows WARNING: Not a net.sf.freecol.common.model.Unit: unit:23522/null

2 Attachments

Discussion

  • Stian Grenborgen

    • assigned_to: Stian Grenborgen
    • Priority: 5 --> 6
     
  • Stian Grenborgen

    This only happens when the treasure train is following a goto order. Moving it manually into the colony works without problems. Working on a fix.

     
  • Stian Grenborgen

    • status: open --> pending-fixed
    • Group: Current --> Fixed_trunk
     
  • Stian Grenborgen

    This issue has now been fixed in the development version.

     
  • Stian Grenborgen

    @lone_wolfsf: Thanks for reporting! The issue has now been fixed in the development version.

    This only happened if using the context menu for cashing in the treasure train while the treasure train was the active unit. The code for deselecting the active unit if it disappears is rather brittle. Please do test other cases of the active unit disappearing if you have the time to do so :-)

     
  • Lone_Wolf

    Lone_Wolf - 2024-07-29

    Disband active unit through icon or shift=D : no warning
    scout LCP vanish : keyboard or goto give no warning

    Not sure how to test combat disappearance due to losing a battle.

     

    Last edit: Lone_Wolf 2024-07-29
  • Stian Grenborgen

    Thanks :-)

    Attacking with a damaged artillery does the trick. Confirmed no warning.

     

Log in to post a comment.