-
Bug
-
Resolution: Fixed
-
Major
-
6.2.19
-
None
Entering special JCR internal characters in jcrName fields throws exception. This bug affects all apps and all node types. It can happen in every dialog/app where a jcrName field is included.
Steps to reproduce
- open pages app
- create a new page
- enter name beginning with "{}" or name containing "|" (pipe)
- leave the field or click next
Result
- Exceptions are thrown (2 different ones for {} and |)
This is just one way. All the same with assets, on folders, creating items, renaming items,...
Expected behaviour
- value of jcrName field is checked for invalid inputs
- should not throw an exception
- display a validation error
- display a hint which characters are allowed
I propose to disallow any [] {} | : in JCR names because the can have a special meaning in some cases.
Dev note
having UTF8 support enabled is necessary to reproduce the issue
Acceptance criteria
1.
|
Provide PR | Completed | Adam Siska | |
2.
|
Code review | Completed | Roman Kovařík | |
3.
|
Preint QA | Completed | Roman Kovařík | |
4.
|
QA | Closed | Antonín Juran | |
5.
|
Backport to 6.2 | Completed | Adam Siska | |
6.
|
Integrate | Completed | Adam Siska |