Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years 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 4 years ago.
Keep undo/redo stack intact if Command.undo() throws Execption

Download all attachments as: .zip

Change History (4)

by GerdP, 4 years ago

Attachment: 20098.patch added

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

comment:1 by GerdP, 4 years ago

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 by GerdP, 4 years ago

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 by GerdP, 4 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.