fgpv-vpgf / fgpa-apgf

Authoring tool for FGP viewer
Other
7 stars 14 forks source link

Chart plugin upload loose info #610

Closed jolevesq closed 3 years ago

jolevesq commented 3 years ago

When we upload a configuration file with the chart enable, it looses all layers and data info.

jolevesq commented 3 years ago

Found how the problem occurs and how to replicate.

When there is already a chart configure in a configuration file, when we open a new one whit chart on it thing are not initialize properly.

This happen because the structure of layers object was wrong in the form. All parameters where not encloses in the id field set so when the model was read, it was like empty values.