hivemq / hivemq-edge

HiveMQ Edge is an MQTT gateway that enables interoperability between OT devices and IT systems. It translates diverse protocols into MQTT for streamlined communication and helps organize data into a unified namespace, making managing and streaming data across your infrastructure easier.
http://hivemq.com
Apache License 2.0
92 stars 21 forks source link

"Clean Start" setting in UI does not import <clean-start> setting from XML config file #284

Closed calliday closed 3 months ago

calliday commented 5 months ago

Context

This issue is regarding the Web UI for configuring a bridge.

Expected behavior

The "Clean Start" setting in the bridge configuration UI should import the <clean-start> setting from the XML config file.

Actual behavior

The UI for bridge configuration doesn't import the setting within the XML config file. The consequence is that if a user edits the bridge and saves it, without navigating to the "Broker Configuration" page to uncheck the "Clean Start" setting, the <clean-start> setting will always be configured to true in the XML config file.

Screenshot 2024-02-05 at 1 31 24 PM

To Reproduce

Steps

Details

DC2-DanielKrueger commented 3 months ago

Thank you for raising the issue,

I can reproduce the issue. The root cause is within the front end as the backend response for the bridge information contains cleanStart=false correctly.

Best regards Daniel

DC2-DanielKrueger commented 3 months ago

The problem was fixed. Thank you again for bringing it up @calliday. The fix will be part of the next release. PR

Best regards, Daniel