ConservationInternational / cplus-plugin

QGIS plugin for using CPLUS framework in effective land-use planning
https://conservationinternational.github.io/cplus-plugin/
GNU General Public License v3.0
3 stars 6 forks source link

Fix saving group UUID at step 3 #460

Closed danangmassandy closed 4 months ago

danangmassandy commented 4 months ago

Issue: when uploading scenario detail to the API, the API rejects the payload because the priority group has empty UUID. Screenshot_4894

The cause: I checked the advanced settings editor for the selected priority layer and found out that the UUID becomes invalid. Screenshot_4888

The fix: We need to convert the UUID obj into string before saving into qgis_settings. I also added a unit test to confirm the bug and the fix. image

github-actions[bot] commented 4 months ago

badge

Plugin zip package for the changes in this PR has been successfully built!.

Download the plugin zip file here https://github.com/ConservationInternational/cplus-plugin/suites/24603181134/artifacts/1574858913