Trust-Anchor-Group / NeuroAccessMaui

Contains a Maui App for TAG Neuro-Access.
Other
4 stars 1 forks source link

Contract deletion persisting on the list and crashing app #102

Open cvalverdef opened 1 month ago

cvalverdef commented 1 month ago

@maximiliamberggren
I deleted a contract, but it persisted on the list of "My contracts/Simple Order Demo" (screenshot below). Every time I tap on the blue hyperlink (marked in yellow), app crashes.

stack trace:

CurrentDomain_UnhandledException
Waher.Networking.XMPP.StanzaErrors.ItemNotFoundException: Contract not found.
   at NeuroAccessMaui.UI.Pages.Contracts.MyContracts.MyContractsViewModel.<>c__DisplayClass16_0.<<ContractSelected>b__0>d.MoveNext()
   at Foundation.NSAsyncSynchronizationContextDispatcher.Apply()
   at ObjCRuntime.Runtime.ThrowException(IntPtr )
   at UIKit.UIApplication.UIApplicationMain(Int32 , String[] , IntPtr , IntPtr )
   at UIKit.UIApplication.Main(String[] , Type , Type )
   at NeuroAccessMaui.Program.Main(String[] args)

image