Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
11.10.13
-
None
-
Windows 11 Pro, Chrome 127, using a local instance of XWiki 16.4.2 on MySQL 9.0.1, Tomcat 9.0.93
-
Unknown
-
Description
Steps to reproduce
- Login as Admin
- Go to Administer Wiki > Content > Page Templates
- Write a "Template Provider" name in the Title field
- Click on 'Create' button
- Under Creation Restrictions select a location e.g. 'Home'
- Click "+" and add again the same location e.g. 'Home'
Expected results
The location is displayed a single time in the list of locations.
Actual results
The location is duplicated, being displayed as many times as it's being added.
The same issue can be reproduced when creating an AppWithinMinutes for ex. at Step 3 under "Where to create entries" section.
I've also reproduced this on XWiki 16.4.2, 16.6.0 and 11.10.13, but it may be reproducible on older versions as well.