semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Problem: Restoring a project does not restore a tasks survey variables properly.

Open UNiXMIT opened this issue 1 year ago • 1 comments

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

UNiXMIT avatar Jul 01 '24 09:07 UNiXMIT

It's because the API /project/1/templates does not pull the survey variables, JSON from that API endpoint contains "survey_vars": null,

UNiXMIT avatar Jul 22 '24 10:07 UNiXMIT

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!

Hugobox avatar Dec 19 '24 21:12 Hugobox

Fixed in v2.12.9 (will be soon).

fiftin avatar Feb 12 '25 13:02 fiftin