Closed lifeBCE closed 10 years ago
This issues ended up being an issue with Common.credentials sometimes being an object and sometimes being a string. Certain logic (jQuery each loops) break when Common.credentials is a string. I identified a few places where this was happening and addressed there but this is a band-aid approach for now. This entire logic should be re-worked to be consistent and reliable.
Further (additional) issue here was the synchronicity of sessionStorage. Common.cache was being updated when an item was added/updated/deleted but sessionStorage was not. Since Common.cache gets its initial state from sessionStorage (on initial page load or refresh) we need to update sessionStorage as well.
When creating cloud credentials, the form is submitted and CloudMux shows request received but subsequent requests to show latest created credentials shows nothing (actually it shows like 444 in the badge until a page refresh then 0 is shown in badge and nothing exists in list below menu item or in index list).
This appears to be an issue with the recent sessionStorage refactor work. Anything that is loaded upon successful Login needs to be refreshed when a new object is added/deleted/updated.