semaphore
semaphore copied to clipboard
Problem: Restoring a project does not restore a tasks survey variables properly.
Issue
After you restore a project, no survey variables for any task have been restored.
Impact
Semaphore Project
Installation method
Docker
Database
Postgres
Browser
No response
Semaphore Version
2.10.11
Ansible Version
No response
Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
No response
It's because the API /project/1/templates does not pull the survey variables, JSON from that API endpoint contains "survey_vars": null,
Our current workaround is to modify by hand the json of exported projects by changing "survey_vars" key values to be JSON instead of stringified JSON and replacing nulls with empty arrays [].
Looking forward to a real fix!
Fixed in v2.12.9 (will be soon).