anusii / podnotes

GNU General Public License v3.0
2 stars 3 forks source link

SHARE: deleting existing permission failing with unhandled exception #97

Open jesscmoore opened 8 months ago

jesscmoore commented 8 months ago

MYNOTES > click file Foo 3 > Click delete karen-reep's permissions is causing unhandled exception as removeSharedKey is failing

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: Failed to create/update the shared file.
#0      removeSharedKey (package:podnotes/common/rest_api/res_permission.dart:843:5)
<asynchronous suspension>
#1      permissionRow.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:podnotes/notes/share_note.dart:152:53)
<asynchronous suspension>

Image

On return to the same file, see that karen-reep's permission was removed:

Image