inveniosoftware / inveniosoftware/flask-menu
Raise warning when `order` values are duplicated
Open
bug
- Dominant language
- Python
- Stars
- 54
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
We should raise a non-fatal warning if more than one menu entry has the same `order` value, as this will result in buggy behaviour (e.g. items being randomly reordered between page loads).
Such a warning would have likely prevented https://github.com/inveniosoftware/invenio-app-rdm/issues/3432 from occurring.
Contributor guide
Assessment
This issue has not been assessed yet.