Thanks for replying and confirming the issue. If this is a well known issue that has been discussed many, many times then why would it not be appropriate to put it in the "bugs" section of the website along with a simple link to a work around or best practice for how to deal with it? I just proposed this on github and the issue was closed. Wouldn't transparency be the most productive policy? How many new users know that once you delete a resource from Joplin it appears to be deleted but it will actually forever be stored orphaned in the cloud?
Here is what I propsed: https://github.com/laurent22/joplin/issues/4035
On github Laurent stated:
"That's not the bug as far as I know. The bug only affects resources that have been attached, and then deleted before they were synced."
So perhaps there isn't that much clarity around the issue? I was not reporting a case where I attached a resource and then deleted before it was synced. I was trying to describe the issue where every resource that I delete is deleted locally but becomes orphaned remotely and is never deleted. This is a different issue than what laurent22 described as only being aware of.
Just so we are on the same page, can you confirm this is the open issue on github: https://github.com/laurent22/joplin/issues/932.
The problem is there are other github issues where the bug was described as being fixed and asking users to report if it is still happening which I did.
I have also tested your script on two occasions in run only mode and it proposed to delete all of my notes. I still have the code on my computer. I would love it if this was a temporary solution as it would save me a lot of time.
The only way I currently know to fix the problem is to delete all my data and start again. I have to do this every time I delete a resource! I have tried deleting the notes manually, deleting the references in the database. Nothing works for me except deleting my entire data set and starting again. This usually takes half a day or more to upload and download the whole data set on all devices.
I am not the only user who has to delete everything, either. This is a major issue for an synchronization app. Once your data uploaded to the cloud it can never be deleted even though it appears to the user inside the app that it has been deleted?
Plugins and new interfaces are awesome improvements which bring small incremental and welcome quality of life improvements but at the heart Joplin is a note synchronization app, and this is what makes it special. How can we get attention for major core issues like this?