Skip to content
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

Error in ProjectTracker sample: 'Object is still being edited and can not be saved' #2814

Closed
bujma opened this issue Mar 8, 2022 · 4 comments

Comments

@bujma
Copy link

bujma commented Mar 8, 2022

Steps:

  • no configuration or code change after downloading the sources
  • ProjectTracker.Ui.WPF and ProjectTracker.AppServerCore as startup projects
  • run, login as 'manager'
  • go to Project List
  • press [Edit] on any project
  • change some editable field
  • press [Save]
  • => Object is still being edited and can not be saved

Version and Platform
CSLA version: 5.5.1 as referenced in downloaded sources of v5.x branch (tried also with 5.5.2)
OS: Windows
Platform: WPF

Code that Fails

Stack Trace

   at Csla.BusinessBase`1.<SaveAsync>d__6.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Csla.BusinessBase`1.<SaveAsync>d__5.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Csla.BusinessBase`1.<SaveAsync>d__4.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Csla.BusinessBase`1.<Csla-Core-ISavable-SaveAsync>d__26.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Csla.Xaml.ViewModelBase`1.<SaveAsync>d__92.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at WpfUI.ViewModels.ViewModelLocalEdit`1.<Save>d__1.MoveNext() in C:\Work\Csla\csla-5.x\Samples\ProjectTracker\ProjectTracker.Ui.WPF\ViewModels\ViewModelLocalEdit.cs:line 22
@bujma
Copy link
Author

bujma commented Mar 11, 2022

Sorry, if off-topic for this issue: where can I get some reference to sources of working WPF example applications as complex as ProjectTracker (PT) is (or more) until PT WPF is fixed? (I assume CSLA .NET 5.5.2 is working, just PT WPF is not.) We would like to try CSLA .NET and explore the concepts in some working examples but currently we are not able to find any that's working. Thanks much.

@rockfordlhotka
Copy link
Member

@bujma please post that last question in the Discussion tab.

@rockfordlhotka
Copy link
Member

#2551

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants