casperlundberg / dynamic-monitoring-system

1 stars 0 forks source link

Something with data persistence and pointers #46

Open casperlundberg opened 3 days ago

casperlundberg commented 3 days ago

When saving a session, the save was not complete (because new things that need to be saved was added) so a fix to this was made. However, a new bug for when creating new panels from templates was found and I'm nt sure why it is buggy in the way it is.

  1. Using deep copies made the created panels have same saved input as earlier ones (it should be blank as original template), this means that the templates is not deep copies???
  2. Removing the saving of input data when creating new panels from template (replacing with empty dicts) resulted in no data graphed, look into this more since it is weird that only empty lists was fetched for this scenario.
casperlundberg commented 3 days ago

This may be the same root issue as for the bug where changing the input params will cause "simple data objects" not to be pulled and/or stored to be graphed. Status code 404 shows up for this scenarios

The system only remembers starting values (such as 0) and the value that they get the first time from the user.