hclcnx / customizer

App Dev Resources for HCL Connections Customizer
https://opencode4connections.org/
15 stars 28 forks source link

Manual edits on Code Editor page are lost #17

Open chscott opened 6 years ago

chscott commented 6 years ago

Steps:

  1. Import a JSON file via the Code Editor page's Import button and save.
  2. Modify the JSON file in some way. I added an additional include file.
  3. Click Save Changes.
  4. Return to the Code Editor page and see that the change is gone.

Making an edit by adding a second include file image

After saving image

Return to the Code Editor page for the saved app image

chscott commented 6 years ago

This turned out to be an issue where somehow the logged-in users credentials were lost mid-session. What threw me off was the "successful" save message, which seems like a bug under those circumstances. As soon as I navigated to another app and was forced to log in again, the same set of steps illustrated above worked without issue.

weber-d commented 6 years ago

I had the same issue. Only a reload of the hole page brought me to the login page. It's confusing and seems bad practice to show a success-message while nothing was saved... The software itself should look at the server response and check wherever the changes were saved or not.