-
-
Notifications
You must be signed in to change notification settings - Fork 278
[MainUI] Multiple duplicated channels do not trigger modification indicator #4033
Description
The problem
Short: If more than one thing channels is duplicated the modifications can be lost without notice.
Long: If a thing channel is cloned by the "Duplicate Channel" functionality there is a save button on the right upper corner. After pressing this save button the user is redirected to the channels overview. But the duplicated channel was not saved. This happens just after pressing a second time on the save button on the channels overview. This is correctly indicated by the bullet indicator right to the channel name. If another channel is duplicated the modification indicator is not acitve any more. If the user does not press save a second time all the duplicated channels are lost. Furthermore any other duplicated channel, even on other things do not trigger the modification indicator again until a browser reload.
Expected behavior
The duplicated channel should be persisted/saved right after pressing the save button the duplicate channel page or the modification indicator should still be shown after duplicating another channel to make the user aware that changes could be lost.
Steps to reproduce
- Select a thing with a manually created channel
- Select a channel
- Use "Duplicate channel"
- Change values as desired
- Use "save" button on the upper right corner
- Select another channel
- Use "Duplicate channel"
- Change values as desired
- Use "save" button on the upper right corner
- Modification indicator disappeared
- Check that there is no modification warning by using the "back" button in the app
Your environment
openHAB 5.1.3
Release Build
Main UI Commit f18caf73