isax5 / Hymnal-Xamarin

New version of the adventist hymnal multi-platform and multi-language
18 stars 7 forks source link

Fix Realms.Exceptions.RealmInvalidObjectException: Attempted to access detached row in FavoriteHymn.get_SavedAt () #215

Open isax5 opened 2 years ago

isax5 commented 2 years ago

Version 4.2.4(4)

Stacktrace

Hymnal.XF.Models.Realm.FavoriteHymn.get_SavedAt () <0x111077178 + 0x00014> in <093c2917984346729f8a832cf3153ead>:0;Hymnal.XF.Models.Realm

Hymnal.XF.ViewModels.FavoritesViewModel+<>c__DisplayClass14_2.b__4 (System.Tuple`2[T1,T2] t) <0x111077018 + 0x00010> in <093c2917984346729f8a832cf3153ead>:0;Hymnal.XF.ViewModels

Hymnal.XF.ViewModels.FavoritesViewModel.OnAppearing () <0x10ed22358 + 0x0023c> in <093c2917984346729f8a832cf3153ead>:0;Hymnal.XF.ViewModels

Hymnal.XF.iOS.Application.Main (System.String[] args) <0x10a0fc238 + 0x0000a> in :0;Hymnal.XF.iOS

Reason

Realms.Exceptions.RealmInvalidObjectException: Attempted to access detached row

Link to App Center