Akylas/OSS-DocumentScanner

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

ivoarch opened this issue · 7 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

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

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

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 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 thanks i will prevent that from happening

Should be fixed now

which version fixes the issue ?