Modify

Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#20098 closed defect (fixed)

[Patch] Corrupted undo/redo stack after unsuccesful undo

Reported by: GerdP Owned by: GerdP
Priority: major Milestone: 20.12
Component: Core Version:
Keywords: Cc:

Description (last modified by GerdP)

See ticket:20091#comment:10
Use steps 1-8 and

  1. Open relation editor, delete member 326046223
  2. Close relation editor to save changes
  3. undo -> Shows Bug Report , ignore

At this point, the undo/redo stack dialog still shows the "change relation" command but UndoRedoHandler has just removed it. Means dialog and data structure are out of sync and further undo or redo actions will give very confusing results.

Attachments (1)

20098.patch (941 bytes) - added by GerdP 2 months ago.
Keep undo/redo stack intact if Command.undo() throws Execption

Download all attachments as: .zip

Change History (4)

Changed 2 months ago by GerdP

Attachment: 20098.patch added

Keep undo/redo stack intact if Command.undo() throws Execption

comment:1 Changed 2 months ago by GerdP

Description: modified (diff)
Owner: changed from team to GerdP
Status: newassigned
Summary: Corrupted undo/redo stack after unsuccesful undo[Patch] Corrupted undo/redo stack after unsuccesful undo

comment:2 Changed 2 months ago by GerdP

Resolution: fixed
Status: assignedclosed

In 17342/josm:

fix #20098: Corrupted undo/redo stack after unsuccesful undo

  • Keep undo/redo stack intact if Command.undo() throws Execption

comment:3 Changed 2 months ago by GerdP

Milestone: 20.12

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain GerdP.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.