Refresh of 3.5.1 test available

Refresh of 3.5.1 test available

Old forum URL: forums.lhotka.net/forums/t/4900.aspx


RockfordLhotka posted on Tuesday, May 27, 2008

I just put a refresh of 3.5.1 on the download page for testing. Check the change log for details - this version includes a bunch of bug fixes and a couple minor feature enhancements from the wish list.

Please let me know if you encounter any issues when using this new code, thanks!

thaehn replied on Wednesday, May 28, 2008

Rocky,

I received an UndoException with the message "Edit Level Mismatch in Accept Changes" on Project Tracker.  I added a new resource by providing a first name and last name and clicking the "OK" button. (this.EditLevel = 1, parentEditLevel = 1):

void Core.IUndoableObject.AcceptChanges(int parentEditLevel, bool parentBindingEdit)

{

if (this.EditLevel - 1 < parentEditLevel)

throw new UndoException(string.Format(Properties.Resources.EditLevelMismatchException, "AcceptChanges"));

RockfordLhotka replied on Wednesday, May 28, 2008

Thanks for sticking with me in figuring this out. I think I have it resolved now (famous last words…) in the code in svn.

 

A change was required to UndoableBase, where the ResetChildEditLevel method was allowing the FieldManager to get out of sync with its container object.

 

Rocky

thaehn replied on Thursday, May 29, 2008

I check it out and it is working now.  Thanks for the fix.

Todd

Copyright (c) Marimer LLC