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

Remove old QGIS project file on update #659

Closed
1 task done
wlorenzetti opened this issue Nov 16, 2023 · 0 comments · Fixed by #660
Closed
1 task done

Remove old QGIS project file on update #659

wlorenzetti opened this issue Nov 16, 2023 · 0 comments · Fixed by #660
Assignees
Labels
feature New feature or request
Milestone

Comments

@wlorenzetti
Copy link
Member

wlorenzetti commented Nov 16, 2023

Checklist

  • I've searched through the current issues to make sure this feature hasn't been requested already.

Motivation

Related to #648 (comment)

On update of a qdjango project with uploading a news QGIS project with title property updated a new QGIS project file is saved inside /media/projects folder instead of replace the current file.

Suggested solution

On update of a qdjango project instance check if old QGIS project name file is not equal to new file and delete the old from /media/projects directory.

Alternatives considered

No response

@wlorenzetti wlorenzetti added the feature New feature or request label Nov 16, 2023
@wlorenzetti wlorenzetti added this to the v3.7 milestone Nov 16, 2023
@wlorenzetti wlorenzetti self-assigned this Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant