Some characters are forbidden for a node name.
There is no check done when renaming a node. For example try to rename a node with "/" or "*" character.
Examples with failure:
- ametys*test
- ametys/test
- ametys|test
- ametys:
I can also rename a node with number only. Should not be forbidden ?
I can rename a node with no alphanumeric character such as "-!;". Should not be forbidden ?
Note that this check is not done either when adding a node
'/ametys:root/ametys-internal:sites/2e/7d/intranet-search/ametys-internal:plugins/linkdirectory/fr/ametys:directoryLinks/https-examplemail*' is not a valid path. '*' not a valid name character. org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: '/ametys:root/ametys-internal:sites/2e/7d/intranet-search/ametys-internal:plugins/linkdirectory/fr/ametys:directoryLinks/https-examplemail*' is not a valid path. '*' not a valid name character. at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:409) at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:124) at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:90) at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:98) at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77) at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:82) at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:650)
- discovered while testing
-
REPOSITORY-230 Add a "rename node" button
- Closed