New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug when create BusinessBindingListBase, internal _deletedList is created with one element #3696
Comments
Yes, I think the binding list implementation should match the standard list like here csla/Source/Csla/BusinessListBase.cs Line 150 in 718566b
@ProDInfo do you have time to submit PRs to fix this in 7 and 8? |
Thank you @ProDInfo !! I'd appreciate it if you can resolve the issues you list to get the two types in sync with each other, that would be fantastic! |
I've made the changes in the PR. I found a error when reordering the methods in main branch. I removed IsBusy method override, I've fixed in the new PR change I reviewed the code, and found where the issue was entered: |
Fixes #3696, DeletedList without DI (branch main)
Fixes #3696, DeletedList without DI (branch v7.x)
Describe the bug
When I create a BusinessBindingListBase the object it's create with one element.
This cause a problem when I wan't to save object, because try to save this item but never are created or removed.
The Csla call to InsertChild to this element
I lookup the code and found the error in file BusinessBindingListBase.cs
The code it's diferent between BusinessBindingListBase and BusinessListBase
The DeletedList it's created with DI and create always one element.
In versión 5.5.3 my same code works well.
Version and Platform
CSLA version: 7.0.3
OS: Windows
Platform: WinForms
Code that Fails
Stack Trace or Exception Detail
No exception, pass to InsertChild the element in DeletedList
Additional context
This code has change to same code that BusinessListBase?
The text was updated successfully, but these errors were encountered: