Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
2.5.9, 3.0.3
-
None
Description
In Admin UI there is an option to place string containing space into the code field when adding a Language. This will result in 500 errors all across the backoffice.
Steps to reproduce:
1. Clean installation of eZ Platform 2.5/3.0
2. Sign in to the backoffice as admin user
3. Add Language:
name: Test
code: test test
4. Go to "Content structure"
Result:
The name "Test test" contains illegal characters. Names should start with a letter, digit or underscore and only contain letters, digits, numbers, underscores ("_"), hyphens ("-") and colons (":").
Expected result:
Some kind of validation that prevents adding Language with special chars in "code" field.