(Resolved) Attachments 404 after successfully downloading from WebDAV on iOS
Hello! Firstly, thank you for all of the hard work on this app, I really love it.
I’m using both the iPad, iPhone, and Linux apps in concert and am running into an issue with WebDAV attachment syncing. A given item is either successfully or unsuccessfully accessible, but many attachments fail to download with only a few ever succeeding.
Logs have been sent at D1914122861.
On my desktop, I can attach a PDF to an item, see it on the WebDAV, open the file from the local cache, all using the same file ID. That works as expected. When I try to download that attachment from either iOS device in the Zotero app, it successfully downloads the file, but ultimately displays an error message that the item cannot be found. I know that the item was successfully downloaded, however; I can see in my WebDAV logs that its clients requested a file by the correct ID and that it was successfully transmitted to that client, and within the Zotero cache, I can see that the used cache storage increases by the exact amount of the ZIP file’s size. So there should be no auth or download issues. My assumption (not that you need my theories!) is that the app has a mismatch of expectations about how to locate the file inside of the ZIP file where the desktop app has expectations consistent with what it finds there.
If there’s anything else I can do to help resolve the issue, please let me know. I can provide anything from screenshots to logs to detailed network traffic recording if necessary. Thank you!
I’m using both the iPad, iPhone, and Linux apps in concert and am running into an issue with WebDAV attachment syncing. A given item is either successfully or unsuccessfully accessible, but many attachments fail to download with only a few ever succeeding.
Logs have been sent at D1914122861.
On my desktop, I can attach a PDF to an item, see it on the WebDAV, open the file from the local cache, all using the same file ID. That works as expected. When I try to download that attachment from either iOS device in the Zotero app, it successfully downloads the file, but ultimately displays an error message that the item cannot be found. I know that the item was successfully downloaded, however; I can see in my WebDAV logs that its clients requested a file by the correct ID and that it was successfully transmitted to that client, and within the Zotero cache, I can see that the used cache storage increases by the exact amount of the ZIP file’s size. So there should be no auth or download issues. My assumption (not that you need my theories!) is that the app has a mismatch of expectations about how to locate the file inside of the ZIP file where the desktop app has expectations consistent with what it finds there.
If there’s anything else I can do to help resolve the issue, please let me know. I can provide anything from screenshots to logs to detailed network traffic recording if necessary. Thank you!
(As for the difference between desktop and iOS, the desktop app will use a single file within a ZIP even if it doesn't match the expected filename for some reason. I don't think the iOS app does that yet.)
*tries to find a valid case to test and log*
Okay, well that's awful. Turns out the browser extension I was using to capture PDFs _was not putting the file extension into the filename_. I never noticed because the metadata was there to indicate it was a PDF so everything worked fine desktop-side. When I correct for this, everything works as expected. And now I have a whole bunch of attachments I have to go correct, oi. Thank you for your assistance!