hivemq/hivemq-edge

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

Closed this issue · 2 comments

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

  • Update a bridge "Broker Configuration" to have "Clean Start" unchecked.
  • Save.
  • Check the XML config file to see the <clean-start> setting reflected.
  • Update the bridge without touching the "Clean Start" setting.
  • Check the XML config file to see that <clean-start> has been set to true.

Details

  • Affected HiveMQ Edge version(s): 2023.9

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

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