neurocurator icon indicating copy to clipboard operation
neurocurator copied to clipboard

Annotations > Parameters: doesn't (ask to) save modifications when switching context

Open pafonta opened this issue 8 years ago • 1 comments

Modifications are not saved when:

  • we switch to an other parameter (a)
  • we switch to an other annotation (b)
  • we switch to an other paper (c)
  • we close the application (d)

Modifications seem to have been saved visually (ie. the new value is displayed) for parameters of type 'point value' when switching to an other parameter or annotation.

The modifications are visually reverted (ie. the previous value is displayed) for parameters of type 'numerical trace' and 'function' when switching (a, b, c) or closing and for 'point value' when switching to an other paper or closing.

Steps:

  1. Double-click on a cell with a value in the Parameter details panel.
  2. Change the value.

(a) 3. Click on an other parameter 4. Click on the modified parameter

(b) 3. Click on an other annotation 4. Click on the modified annotation 5. Click on the modified parameter

(c) 3. Click on the Paper Zotero database tab. 4. Double-click on a grey entry. 5. Click on the Paper Zotero database tab. 6. Double-click on the previous paper. 7. Click on the modified annotation. 8. Click on the modified parameter.

(d) 3. Obvious.

The modified value hasn't been saved.

NB: Tested with publications of ID 10.1016/j.neuroscience.2014.02.026 (point value and numerical trace parameter types) and PMID_9457638 (function parameter type).

Stack trace:

None

pafonta avatar Oct 20 '17 13:10 pafonta

There is likely the same bug when we add new values instead of modifying existing ones.

pafonta avatar Oct 20 '17 16:10 pafonta