-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 7.19.5, 8.1.0, 8.3.0, 8.0.4, 7.19.7, 7.19.9, 8.1.4, 8.2.3
-
18
-
Severity 3 - Minor
-
30
Issue Summary
This is reproducible on Data Center: (yes)
Custom template variables having special characters and spaces in there names with text and multi-line text fields are not displayed correctly when same template is used to create a page.
Update: The issue is reproducible not only for variable name but also list variable content.
Steps to Reproduce
- Create a Space and choose Space tools > Content Tools from the bottom of the sidebar.
- Choose Templates > Create new template > Demo Template
- From the editor toolbar, select
then choose New Variable with name first_name (by default this will create a single-line text input field). - Add few more variables with names as "last-name" (single-line text input) , "enter Address" (Multi-line text input), "phoneNumber" (single-line text input).
- Click on ... to create page and choose "Demo Template" from the list.
Expected Results
The template variables must be rendered correctly on the page as seen in the attached screenshot (expected_outcome.png)
Actual Results
The template variables are not working or rendered correctly on the page as seen in the attached screenshot (actual_outcome.png) but template preview (template_preview.png) works fine.
Workaround
- Avoid using special characters (eg. _ , - , ? etc) and spaces within template variable names.
- Or else upgrade to Confluence 7.20.0 where the issue is not observed.
- is related to
-
CONFSERVER-82493 User Created Page Templates does not populate the variable with underscore, dash, colon and Japanese characters
-
- Closed
-
- is resolved by
-
CONFSERVER-82493 User Created Page Templates does not populate the variable with underscore, dash, colon and Japanese characters
-
- Closed
-