Undo issue


Author
Message
Ian Johnston
Ian Johnston
StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)
Group: StrataFrame Users
Posts: 77, Visits: 470
I have a maintainence form where the undo is undoing but not saving. The save button is active and when closing the form or navigating the records it ask to save. Where should I look?
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Ian,
This could be tricky.  At some point your BO is Dirty and when trying to move out of the current record, you are ask to save it.  If you are using more than one BO in your form, make sure all of them are part of the form's Undo action which by default will only cover the PrimaryBusinessObject, if that is not the case, please post any code you may be using for either Save or Undo, or better yet post a small sample showing the issue.

Edhy Rijo

Fabian R Silva, -
Fabian R Silva, -
StrataFrame User (269 reputation)StrataFrame User (269 reputation)StrataFrame User (269 reputation)StrataFrame User (269 reputation)StrataFrame User (269 reputation)StrataFrame User (269 reputation)StrataFrame User (269 reputation)StrataFrame User (269 reputation)StrataFrame User (269 reputation)
Group: StrataFrame Users
Posts: 153, Visits: 1.2K
Hello Ian, When you're undoing you do something more? call edit? Have  a user control? custom properties on BO? 

All of that stuff is important, as Edhy Rijo says, BO is dirty and the best can be to debug the change of the diry property on the BO, something is changing that and will give you why this is happening.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search