Bug: On app load, modal displays "[file] couldn't be removed because vou don't have permission to access it."
Environment
- OS Version: 17.3.0
- App Version: 5.2.2-34
Description
After a failed attempt to import a series of audiobooks in the app via the Files app connected to a file server, I am unable to get rid of the "corrupted" files, as I do not have permission to get rid of those. Here's a screenshot that illustrates the issue.
Clicking on "Done" causes the app to crash.
Clicking on "Cancel" allows app to continue as it should.
Steps to reproduce the behavior
Note that I am unsure whether this will work or not.
- Try to bring in a file from another file server and cancel it before it completes.
- Disconnect from the server.
- Restart the app.
Short of deleting everything and starting over, is there a way to remove those alerts?
@chrissar can you go to the Files app → On my iPhone → BookPlayer, and see if there's any file references in there? if you delete them, you won't be prompted next time you launch the app. It looks like the app couldn't make a copy of the files, and instead got a link reference to them
@GianniCarlo thank you for the suggestion. I tried what you proposed but there's no file references to those files there, only the ones that have already been imported.
@chrissar hmmmm, this must be then references on the Inbox folder from the system. I'll look into addressing this issue, when there's non removable references in there
@GianniCarlo Thanks for the quick turnaround! Just in case, I managed to grab another screenshot to show what happens when the cancel button is clicked:
@chrissar there's a beta live with a possible fix for this (link to join beta: https://testflight.apple.com/join/xLDneJXN) let me know if that works
@chrissar there's a beta live with a possible fix for this (link to join beta: https://testflight.apple.com/join/xLDneJXN) let me know if that works
Just gave it a try and unfortunately it doesn't seem like it fixed the issue. I submitted feedback with screenshots.
@GianniCarlo let me know if you need additional data.
@chrissar my bad, I submitted the beta without the changes on the opened PR 🤦 , I've updated the beta, can you try now with the latest one?
@GianniCarlo no problem. Here's my feedback:
- The app still crashes when Done is clicked.
- When cancel is clicked, I see the files get "cleared" but the alert still pops-up.
- Refreshing or reopening the app still shows the previously-cleared files.
@chrissar I tracked down the crash logs, and it looks like the app does not have permissions to the Processed folder for some reason, but it's weird since it's in the Documents folder, and the app is the one that creates that folder, reading some posts on the dev forums, I saw someone turning off and back on the phone, and that fixed the access to a folder in the Documents folder of the app, can you try that just in case too?
Regarding the cancel issue, I've been trying to reproduce by connecting to my NAS on my network via Files app, choosing some audiobooks, sharing to BookPlayer, removing the connection to the NAS from the Files app, going to BookPlayer and cancelling, but no luck, let me know if I'm missing something to reproduce the issue
@GianniCarlo hey sorry about the delay in my response. I've been testing the last couple of builds and sending back crash logs. Some things were fixed, like crashes when starting the app from CarPlay but I still have that underlying issue with the files stuck in the queue.