Incorrect routing path for duplicate page names
Current Behavior
Hi guys,
It seems that some time ago I have created two pages with the same name:
This was not intended, because of course it makes no sense to have duplicate names in the dashboard menu. Anyway it can also happen if you import a flow from a user to assist him with something...
Both menu items show up in my dashboard, but when you click them they both refer to the same path:
When I change one of the page names, the problem is immediately solved.
Expected Behavior
I would expect that the correct path of each page is being used.
Steps To Reproduce
Create two pages with the same name.
Environment
- Dashboard version: v1.14.0
- Node-RED version: v3.1.3
- Node.js version: v18.19.0
- npm version:
- Platform/OS: Linux 6.1.0-rpi7-rpi-v8 arm64 LE
- Browser: Chrome
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
Next to the comments in issue #1155, it might also be useful to show a warning in case of duplicate page names? In order to be consistent with the existing warning, which is displayed in case of duplicate page paths already.
it might also be useful to show a warning in case of duplicate page names? In order to be consistent with the existing warning, which is displayed in case of duplicate page paths already.
I was thinking this too 🤔