OSS-DocumentScanner icon indicating copy to clipboard operation
OSS-DocumentScanner copied to clipboard

[BUG] TypeError: Cannot read properties of undefined (reading 'replace')

Open ivoarch opened this issue 1 year ago • 1 comments

Version

1.10.3 build 91

What platform are you using?

Android

OS Version

14

What happened?

After trying to configure the sync to my webdav (koofr cloud) account every time I try to sync or just open the app I get msg TypeError: Cannot read properties of undefined (reading 'replace') , I have setup to auto sync in open .

When I configure my webdav sync I check status before press save button and result is Successful !

Any help , I missing something ? Thanks.

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

ivoarch avatar Aug 06 '24 10:08 ivoarch

Sounds similar to the error on Android, when exporting a document to pdf. Screenshot_20240808-230723_OSS Dokumentenscanner

jotoeri avatar Aug 08 '24 21:08 jotoeri

I had the same issue when trying to sync to a Nextcloud WebDav using password authentification. I seemed to have solved it by using an "App password" instead of the user account password. I don't know if there's a similar feature in your cloud, but here's the steps for Nextcloud: Settings > Security > Create new app password (bottom of the page) > In OSS Document Scanner, select Password and copy the app password generated by Nextcloud.

pz-93 avatar Aug 16 '24 08:08 pz-93

I had the same issue when trying to sync to a Nextcloud WebDav using password authentification. I seemed to have solved it by using an "App password" instead of the user account password. I don't know if there's a similar feature in your cloud, but here's the steps for Nextcloud: Settings > Security > Create new app password (bottom of the page) > In OSS Document Scanner, select Password and copy the app password generated by Nextcloud.

I use a separate password for webdav , but I find the issue. I missing to add remote folder to sync I leave this empty in the setup menu . Is strange because when I test is show Successful w/o adding remote folder name to this field .

Thanks .

ivoarch avatar Aug 16 '24 09:08 ivoarch

@ivoarch thanks i will prevent that from happening

farfromrefug avatar Aug 16 '24 12:08 farfromrefug

Should be fixed now

farfromrefug avatar Sep 24 '24 10:09 farfromrefug

which version fixes the issue ?

stavpup avatar Sep 24 '24 15:09 stavpup

@stavpup https://github.com/Akylas/OSS-DocumentScanner/releases/tag/com.akylas.documentscanner%2Fandroid%2Fgithub%2F1.11.1%2F96 should fix it

farfromrefug avatar Sep 24 '24 16:09 farfromrefug