ICTatRTI / coconut-analytics

Browserified & backboned version of coconut-reports
Other
2 stars 3 forks source link

Bug in System Settings save process #158

Closed scloo closed 8 years ago

scloo commented 8 years ago

If you make a change in System Settings and click Update, the change has been saved to DB. However the Coconut.config instance is still the old values. So if you do not reload screen, and click to go to the Dashboard, and when you come back again to System Settings, it will display the old values even though in the DB it now has the new value.

scloo commented 8 years ago

Fixed the issue by reloading the entire browser screen. However another related issue remains. When making multiple updates within the System Settings page without leaving the page, there is no issue with the saving process. However if after saving, and then leaving to another page, e.g. the dashboard and then returning to the System Settings, updating document will raise the following error: {"status":409,"name":"conflict","message":"Document update conflict","reason":"Document update conflict."}

scloo commented 8 years ago

Fixed bug producing Error message as described in #160.