g3w-admin
g3w-admin copied to clipboard
Auto-naming of uploaded `.ggs` project files is a bit confusing
Checklist
- [X] I've searched through the existing issues and this bug has never been reported before
Subject of the issue
Sample project: g3w-suite-demo-projects/projects/geocoding-control.qgs
Here's what I get: gli_acquatici_del_parco_geocoding-controlqgs.qgs
instead of buildings_geocoding-control.qgs
(among others)
That is:
- it should use group slug as filename prefix (eg.
buildings
) - it shouldn't add other suffixes at end of the url/file (eg.
-controlqgs.gqs
,-controlqgs/
)
Partially related to: https://github.com/g3w-suite/g3w-admin/issues/612 https://github.com/g3w-suite/g3w-admin/issues/542 https://github.com/g3w-suite/g3w-admin/issues/661
Steps to reproduce
1. change the name of an existing group
2. upload the sample project in there
3 auto-generated filename is: gli_acquatici_del_parco_geocoding-controlqgs.qgs
Environment
[g3wsdk.info]
- g3w-admin: 3.7.dev-20231124074424
- g3w-client: 3.9.0-alpha.2.0
- browser: Firefox 119.0
- operating system: Windows 11 64-bit
Link to your project
http://localhost:8000/en/map/buildings/qdjango/50/
Additional info
No response