zigbee2mqtt-frontend icon indicating copy to clipboard operation
zigbee2mqtt-frontend copied to clipboard

[Bug]: Cannot update device settings via frontend

Open gitmulles opened this issue 1 year ago • 2 comments

What happened?

Trying to update device settings (e.g. checking 'retain' option), screen immediately updates with previous information. (version 1.39)

What browsers are you seeing the problem on?

Firefox, Chrome, Safari

Relevant stacktrace

no trace available

Did you download state.json.zip?

I will not attach state.json.zip

gitmulles avatar Jul 22 '24 09:07 gitmulles

I can confirm. It is always "reloading" page.

rrakso avatar Jul 24 '24 10:07 rrakso

I can also confirm.

As a workaround on Windows, if you click the setting (e.g., 'disable') and immediately press enter on the keyboard, you will click the default button on the page, saving the settings before the reload can occur. Otherwise, good luck trying to change the setting and clicking the button!

thargy avatar Jul 25 '24 19:07 thargy

I can confirm it for 1.41.0.

As a workaround on Windows, if you click the setting (e.g., 'disable') and immediately press enter on the keyboard, you will click the default button on the page, saving the settings before the reload can occur. Otherwise, good luck trying to change the setting and clicking the button!

Works on Linux, too.

Issue is: This does not work for adding elements to lists, like the "Filtered publish attributes", because you would need to hit plus, enter the name of the field and then hit enter within average 0.5 seconds.

So it definitely is blocking some functionality.

@Koenkk would be great if this could be fixed!

RubenKelevra avatar Nov 08 '24 21:11 RubenKelevra

Here the workaround I use. After loading device settings page, I go offline (e.g. wifi off) do the changes I need, save and immediately go online again. Not really confortable, but easier than stopping zigbee and modifying config file manually.

gitmulles avatar Nov 09 '24 10:11 gitmulles

Fixed!

Changes will be available in the dev branch in a few hours from now.

Koenkk avatar Nov 28 '24 20:11 Koenkk