IMFS-MMB / mmb-gui-electron

Electron-vue based GUI of the Macroeconomic Model Database
http://www.macromodelbase.com
Other
7 stars 16 forks source link

Renaming shock (within GUI) bug #79

Closed AlexDece closed 4 years ago

AlexDece commented 4 years ago

Describe the bug Rename a shock OR a shock and a variable (within GUI). Reload Data will remove this shock or shock/variable. Exit and start mmb-gui-electron will show the shock or shock/variable.

To Reproduce Steps to reproduce the behavior:

  1. Edit (a shock text) or (a shock text and a variable text) within the GUI (e.g CA_ToTEM10, la_shk renamed to Test Name) (see screenshot 1)
  2. Click on save
  3. Click on Reload Data
  4. renamed shock (or shock/variable) disappears for the selected model (see screenshot 2)
  5. exit mmb
  6. start mmb
  7. renamed shock (or shock/variable) appears for the selected model (see screenshot 3)

Expected behavior The renamed shock (or shock/variable) should appear in step 4. Renaming a variable only is as expected (shown at step 4)

Screenshots 1 shows before the renaming 2 after renaming and reloading 3 after restarting mmb

Desktop (please complete the following information): Windows 10, Octave 4.4.1, Dynare 4.5.7

Additional Info:

1 2 3