openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

[bug] Unsaved changes alert triggered when a new required template is added

Open pandafy opened this issue 4 years ago • 1 comments

How to replicate

  1. Create a device with default organization
  2. Create a required template for default organization
  3. Open the device detail page, do not change anything, reload or click on anywhere to go to a different page.

Actual behavior

Unsaved changes alert is triggered.

Reason

The JS adds the required template created and updates the config-0-templates field

pandafy avatar Jun 02 '21 22:06 pandafy

Hi @pandafy , I believe this might be a duplicate of #469 and should already be resolved, as I wasn’t able to reproduce the issue. If it’s still occurring, could you please share more context or steps to help replicate it?

EDIT : Replicated the issue

DragnEmperor avatar Apr 14 '25 11:04 DragnEmperor

I tried to reproduce the issue but was unable to. I'm attaching a video for reference.

https://github.com/user-attachments/assets/eebe78a9-0ee8-43fc-a287-ad9a5404c65d

Dhanus3133 avatar Jul 09 '25 10:07 Dhanus3133

Thanks @DragnEmperor @Dhanus3133.

nemesifier avatar Jul 09 '25 16:07 nemesifier