Bug in PTWin CSLA 3.5.1??

Bug in PTWin CSLA 3.5.1??

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


jasonlaw posted on Wednesday, May 14, 2008

Hi,

When I try to create New Project from PTWin, do nothing and close it, there is UndoException in class BusinessListBase being raised:

 Private Sub UndoChanges(ByVal parentEditLevel As Integer) Implements Core.IUndoableObject.UndoChanges
    Dim child As C
    Dim index As Integer

    If Me.EditLevel - 1 < parentEditLevel Then
*****ERROR RAISED HERE!
      Throw New UndoException( _
        String.Format(My.Resources.EditLevelMismatchException, "UndoChanges"))
    End If
...

I try to debug and found that the error occur when trying to unbind the ProjectBindingSource in Rebind method.

I tried CSLA 3.5 and it is working fine, is it a bug in 3.5.1?

Thanks in advance.

Jason Law

RockfordLhotka replied on Friday, May 16, 2008

Hmm, I don't know - I'll have to take a look at it.

admin replied on Tuesday, May 27, 2008

I believe the issue is due to a bug in CSLA itself, which I have now hopefully addressed. The fix is in svn now, and will be in the next test release of 3.5.1 - please give it a try and see if it addresses the issue.

Thank you!

jasonlaw replied on Thursday, May 29, 2008

Hi, I have downloaded the lastest 3.5.1 and it is working fine now.

Thank you.

Copyright (c) Marimer LLC