astubenbord / paperless-mobile

An (almost) fully fledged mobile paperless client.
GNU General Public License v3.0
618 stars 31 forks source link

[Bug]: mobile app can't save changes to documents #427

Open Malli88 opened 1 month ago

Malli88 commented 1 month ago

What happened?

If changing something to a document I can't save the changes. That's just in the mobile app

Steps to reproduce

Change something in a document Click save Nothing happens

Log output from the app

2024-05-30 19:48:22.084 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Trying to restore previous session...
2024-05-30 19:48:22.085 DEBUG   --- [      AuthenticationCubit] - restoreSession           : There is nothing to restore.
2024-05-30 19:48:22.090 INFO    --- [                         ] -                          : Setting refresh rate to 90.0
2024-05-30 19:49:12.660 DEBUG   --- [      AuthenticationCubit] - login                    : Trying to log in stephan@pa***de...
2024-05-30 19:49:12.661 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Adding new user stephan@pa***de..
2024-05-30 19:49:12.661 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Fetching bearer token from the server...
2024-05-30 19:49:12.999 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Bearer token successfully retrieved.
2024-05-30 19:49:13.001 DEBUG   --- [      AuthenticationCubit] - _getApiVersion           : Trying to fetch API version...
2024-05-30 19:49:13.103 WARNING --- [      AuthenticationCubit] - _getApiVersion           : The server is running a newer API version (5) than the app supports (v3), falling back to latest supported version (v3). Warning: This might lead to unexpected behavior!
2024-05-30 19:49:13.104 DEBUG   --- [      AuthenticationCubit] - _getApiVersion           : Successfully retrieved API version (3).
2024-05-30 19:49:13.104 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Trying to fetch remote paperless user for stephan@pa***de.
2024-05-30 19:49:13.286 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Remote paperless user successfully fetched.
2024-05-30 19:49:13.287 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Persisting user account information...
2024-05-30 19:49:13.314 DEBUG   --- [      AuthenticationCubit] - _addUser                 : User account information successfully persisted.
2024-05-30 19:49:13.314 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Persisting user app state...
2024-05-30 19:49:13.320 DEBUG   --- [      AuthenticationCubit] - _addUser                 : User state successfully persisted.
2024-05-30 19:49:14.224 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Saving user credentials inside encrypted storage...
2024-05-30 19:49:14.227 DEBUG   --- [      AuthenticationCubit] - _addUser                 : User credentials successfully saved.
2024-05-30 19:49:14.231 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Added new url to list of hosts.
2024-05-30 19:49:14.232 DEBUG   --- [      AuthenticationCubit] - login                    : User stephan@pa***de successfully logged in.
2024-05-30 19:49:14.254 DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:49:14.256 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:49:14.330 DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:49:14.331 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:49:14.819 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:49:14.819 DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:49:14.820 DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:49:14.821 DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:49:14.839 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:49:14.839 DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:49:15.011 DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:49:15.034 DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:49:44.338 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:49:44.519 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:50:27.295 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:50:27.594 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:50:39.860 DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:50:39.861 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:50:40.287 DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:50:40.400 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:50:40.401 DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:50:40.519 DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:51:27.885 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Trying to restore previous session...
2024-05-30 19:51:27.886 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Verifying user identity...
2024-05-30 19:51:27.887 INFO    --- [                         ] -                          : Setting refresh rate to 90.0
2024-05-30 19:51:30.262 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Identity successfully verified.
2024-05-30 19:51:30.263 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Reading encrypted credentials...
2024-05-30 19:51:30.433 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Credentials successfully retrieved.
2024-05-30 19:51:30.433 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Updating security context...
2024-05-30 19:51:30.433 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Security context successfully updated.
2024-05-30 19:51:30.586 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Trying to update remote paperless user...
2024-05-30 19:51:30.586 DEBUG   --- [      AuthenticationCubit] - _getApiVersion           : Trying to fetch API version...
2024-05-30 19:51:30.749 WARNING --- [      AuthenticationCubit] - _getApiVersion           : The server is running a newer API version (5) than the app supports (v3), falling back to latest supported version (v3). Warning: This might lead to unexpected behavior!
2024-05-30 19:51:30.749 DEBUG   --- [      AuthenticationCubit] - _getApiVersion           : Successfully retrieved API version (3).
2024-05-30 19:51:30.749 DEBUG   --- [      AuthenticationCubit] - _updateRemoteUser        : Trying to update remote user object...
2024-05-30 19:51:30.927 DEBUG   --- [      AuthenticationCubit] - _updateRemoteUser        : Successfully updated remote user object.
2024-05-30 19:51:30.928 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Successfully updated remote paperless user.
2024-05-30 19:51:30.929 DEBUG   --- [      AuthenticationCubit] - restoreSession           : Previous session successfully restored.
2024-05-30 19:51:30.947 DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:51:30.948 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:51:31.204 DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:51:31.247 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:51:31.247 DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:51:31.343 DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:51:33.955 DEBUG   --- [     DocumentScannerCubit] - initialize               : Restoring scans...
2024-05-30 19:51:33.982 DEBUG   --- [     DocumentScannerCubit] - initialize               : Restored 0 scans.
2024-05-30 20:09:45.317 INFO    --- [        DocumentEditCubit] - loadFieldSuggestions     : Loading suggestions for document 918...
2024-05-30 20:09:46.574 INFO    --- [        DocumentEditCubit] - loadFieldSuggestions     : Found 4 suggestions for document 918.
2024-05-30 20:09:53.733 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:55.299 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:55.639 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:55.823 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:55.994 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:56.174 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:56.344 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:56.403 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 20:09:56.565 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 20:09:57.050 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:58.088 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:10:02.861 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:10:03.065 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:10:03.244 INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:10:26.402 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 20:10:26.545 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 20:10:56.403 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 20:10:56.671 INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.

Screenshots

No response

Paperless-ng*x Version

2.8.6

Paperless-Mobile Version

3.2.1

Device

Pixel 7

Operating System Version

Android 14

Device Locale

German

Selected Locale

German

Additional Context

No response

Arlson commented 2 weeks ago

I have exactly the same issues. Even after reinstalling the app.

Malli88 commented 7 hours ago

Is there something we can do to make working on that issue easier? Can we support?