Hi,
I haven't found anyone posting about this, but it seems like there is a problem with the cslaActionExtender with both the 3.8 sample projects (netsamples-3.8.3-100506, and netsamples-3.8.4-100811). The only change I made to reproduce this problem was to change the app config to point to my server and database (which looks like this).
<add name="connStr"
connectionString="Data Source=HQDevDB1;Initial Catalog=CslaActionExtenderSample;Integrated Security=True;Asynchronous Processing=true" />
</connectionStrings>
Hi,
I very much doubt that CslaActionExtender has ever been tested for use with the Asynchronous Procession option set to true.
Have you tried without Asyncronous Processing?
I know we have several bugs in the bugtracker related to CslaActionExtender.
Unfortunately, I don't think we will be able to do address these bugs for Windows Forms/CslaActionExtender.
I tried it without Asycronous processing and get the exact same problem.
I did notice something else though. I can click save/new and the save and it will give me the business errors dialog. Actually all the buttons work, until i type in data to pass all the validation rules. Then all the buttons seem to stop working..
It appears when I debug into the source (breaking on all exceptions) that there is a EditLevel issue in AcceptChanges of the BusinessListBase.cs class and a new Core.UndoException(**) is being thrown (and not shown).
to narrow this down a little bit more.
It has nothing to do with the buttons, if you create a new order and bind it using cslaActionExtender, this causes the same problem as described above.
ok, so the bug isn't with cslaActionExtender, it is with BindingSourceNode.
(I removed cslaActionexender from the form and wired up just BindingSourceNode and get the same error).
I now believe the error has something to do with BindingSourceNode and the Child Collection on the Order object. (I removed "orderDetailListProperty"property from Order class, and all associated bindings, and I am able to save correctly.)
Copyright (c) Marimer LLC