paperless-mobile icon indicating copy to clipboard operation
paperless-mobile copied to clipboard

Compatibility with older versions

Open Totil-a opened this issue 3 years ago • 7 comments

I can see all documents and their metadata correctly.

As soon as I change something, be it correspondent or tag and save it, I get: 'Document successfully updated' followed by 'Could not update document. Please try again' message.

What could be the reason?

I am 1.0.3+1, installed from Google play store.

Totil-a avatar Nov 13 '22 06:11 Totil-a

Hi, this is probably related to the bad error handling design which I'm currently improving. This should hopefully fix this. I'll notify you once I've updated the code and I'll add a new release, since some useful features have been added since 1.0.3.

astubenbord avatar Nov 13 '22 13:11 astubenbord

@Totil-a could you try out the new release (https://github.com/astubenbord/paperless-mobile/releases/tag/v1.0.4-beta) and check if the issue still persists? A new release in the Google Play Store is also currently being reviewed.

Cheers

astubenbord avatar Nov 13 '22 13:11 astubenbord

@astubenbord just did. 'Could not update document. Please try again' appears immediately when I press the save button. I removed a tag and wanted to save the change.

Totil-a avatar Nov 13 '22 15:11 Totil-a

Which device are you on (Model and Android Version)? And which paperless Version do you have installed on your Server? I cannot reporduce the issue on my own device unfortunately.

astubenbord avatar Nov 13 '22 15:11 astubenbord

Pixel4a and android 13

Paperless ngx server version: 1.8.0 (let me try updating to latest and report back)

Totil-a avatar Nov 13 '22 18:11 Totil-a

Updating to 1.9.2 resolved the issue. Documents changes now save correctly.

Totil-a avatar Nov 13 '22 19:11 Totil-a

Great, thanks for the update. But I think for downwards compatibility, it would still be good if I could resolve this. I think it could have to do with the API versioning, as version 2 did some changes to the tags model. I'll have to look into why this happens. I'll reopen the issue until it's fixed for older versions as well. Cheers!

astubenbord avatar Nov 13 '22 19:11 astubenbord