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_Number () #217

Open isax5 opened 2 years ago

isax5 commented 2 years ago

Version 4.2.4(4)

Stacktrace

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

Hymnal.XF.ViewModels.FavoritesViewModel.DeleteHymnExecute (System.Tuple`2[T1,T2] favoriteHymn) <0x10c68d1b0 + 0x00024> in <093c2917984346729f8a832cf3153ead>:0;Hymnal.XF.ViewModels

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

Reason

Realms.Exceptions.RealmInvalidObjectException: Attempted to access detached row

Link to App Center