Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029884Community[OCCT] OCCT:Application Frameworkpublic2018-06-20 10:562019-07-10 09:01
ReporterVico Liang 
Assigned Tompv 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.5.0*Fixed in Version 
Summary0029884: Calling sequence of BeforeUndo() and AfterUndo() unpredictable
DescriptionUndo/redo delta sequence is base on label tree hierarchy. Base on this assumption, attributes may be designed with dependency with each other. The predict behavior is that BeforeUndo() and AfterUndo() will be called in the label tree hierarchy order. Actually, the order is unpredictable. The reason is TDF_Data::FixOrder() adjusted the delta order to fix another bug 0029142. It seems ugly and unnatural with such order fix.

TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0029142closedbugmaster Open CASCADE Exception on Redo 

-  Notes
Vico Liang (developer)
2018-06-20 11:14
edited on: 2018-06-20 11:15

My use case looks like this, the application is base on TObj package, TObj_TObject rely on AfterUndo() to recover object from death and My_AISPresentation rely on BeforeUndo() and AfterUndo() to do presentation update. My_AISPresentation is designed to depend on TObj_TObject. It will crash during presentation updating on undo/redo because AfterUndo() of TObj_TObject is not called before My_AISPresentation.

- Issue History
Date Modified Username Field Change
2018-06-20 10:56 Vico Liang New Issue
2018-06-20 10:56 Vico Liang Assigned To => mpv
2018-06-20 11:07 Vico Liang Note Added: 0076842
2018-06-20 11:08 Vico Liang Relationship added related to 0029142
2018-06-20 11:10 Vico Liang Note Deleted: 0076842
2018-06-20 11:14 Vico Liang Note Added: 0076843
2018-06-20 11:15 Vico Liang Note Edited: 0076843 View Revisions
2019-07-10 09:01 abv Target Version 7.4.0 => 7.5.0*

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker