-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
Description
Describe the bug
An exception occurs after canceling creation of a new Recurring Transactions
To Reproduce
Steps to reproduce the behavior:
- Go to Transaction Page
- Click on 'Manage' of 'Add Recurring Transaction'
- Click on 'Create Transaction'
- Click on Cancel Button
- See error
Expected behavior
No exception occurs
Additional helpful details
Exception according to Docker logs:
Unhandled exception rendering component: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at OpenBudgeteer.Core.ViewModels.EntityViewModels.RecurringTransactionViewModel.CancelModification() in /src/OpenBudgeteer.Core/ViewModels/EntityViewModels/RecurringTransactionViewModel.cs:line 405
at OpenBudgeteer.Blazor.Shared.RecurringTransactionDialog.<>c__DisplayClass0_0.<BuildRenderTree>b__9() in /src/OpenBudgeteer.Blazor/Shared/RecurringTransactionDialog.razor:line 79
at Microsoft.AspNetCore.Components.EventCallbackWorkItem.InvokeAsync[T](MulticastDelegate delegate, T arg)
at Microsoft.AspNetCore.Components.ComponentBase.Microsoft.AspNetCore.Components.IHandleEvent.HandleEventAsync(EventCallbackWorkItem callback, Object arg)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.DispatchEventAsync(UInt64 eventHandlerId, EventFieldInfo fieldInfo, EventArgs eventArgs, Boolean waitForQuiescence)
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
Unhandled exception in circuit 'DGURh76THEDcd18xOCJjjMG6YiggujOFzVJTaL7UB2I'.
System.NullReferenceException: Object reference not set to an instance of an object.
at OpenBudgeteer.Core.ViewModels.EntityViewModels.RecurringTransactionViewModel.CancelModification() in /src/OpenBudgeteer.Core/ViewModels/EntityViewModels/RecurringTransactionViewModel.cs:line 405
at OpenBudgeteer.Blazor.Shared.RecurringTransactionDialog.<>c__DisplayClass0_0.<BuildRenderTree>b__9() in /src/OpenBudgeteer.Blazor/Shared/RecurringTransactionDialog.razor:line 79
at Microsoft.AspNetCore.Components.EventCallbackWorkItem.InvokeAsync[T](MulticastDelegate delegate, T arg)
at Microsoft.AspNetCore.Components.ComponentBase.Microsoft.AspNetCore.Components.IHandleEvent.HandleEventAsync(EventCallbackWorkItem callback, Object arg)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.DispatchEventAsync(UInt64 eventHandlerId, EventFieldInfo fieldInfo, EventArgs eventArgs, Boolean waitForQuiescence)
Metadata
Metadata
Assignees
Labels
Projects
Status
✅ Released