Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting an upload does not work #246

Open
StefanVanDyck opened this issue Sep 5, 2024 · 2 comments
Open

Deleting an upload does not work #246

StefanVanDyck opened this issue Sep 5, 2024 · 2 comments

Comments

@StefanVanDyck
Copy link

Delete an uploaded layer from the admin interface on version 2.1.5 does not work.
It seems like the logic was disabled for some reason.

I created a PR with some simple changes that seem to do the trick:
#245

@StefanVanDyck
Copy link
Author

Yeah that pr deletes stuff allright, but is not working correctly, I am probably misunderstanding what is going on.
Although I have a suspicion layer_id and raw_id are not always used correctly everywhere.

Not sure if this is expected behavior, but have a bunch of folders being created in the data folder for actual layers and not just uploads

@StefanVanDyck
Copy link
Author

StefanVanDyck commented Sep 6, 2024

Created a new simpler and hopefully better PR that seems to allow deleting uploads again.
#248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant