User Created Page Templates does not populate the variable with underscore, dash, colon and Japanese characters

XMLWordPrintable

    • 5
    • Severity 3 - Minor
    • 44

      Issue Summary

      In Confluence v7.19.5 and v7.19.6, the user-created templates fail to render/populate the field with underscore, dash, and colon characters. In the latest version of Confluence(v8.1.1 as of now), the issue is reproducible. 

      Unlike the above versions, in Confluence v7.19.2 and 7.19.4 allows using the field with underscore, dash, and colon characters.

      Update: The issue is reproducible not only for variable names but also list variable contents.

      Steps to Reproduce

      1. Navigate to Space Tools > Content Tools > Templates > User Created Templates
      2. Click Create New Template button
      3. Choose the Insert Templates Item option and add New Variable
      4. Name the variable as var
      5. Add another variable and name it var_underscore
      6. Add another variable and name it var-dash
      7. Add another variable and name it var:colon
      8. Save 
      9. Create a new page using this template

      Expected Results

      All fields should be rendered/populated while creating a page using the template.

      Actual Results

      The fields with underscore, dash, and colon characters failed. 

      Workaround

      Avoid using underscore, dash, colon, and Japanese characters with the field names.

        1. image-2023-03-06-12-29-05-758.png
          image-2023-03-06-12-29-05-758.png
          5 kB
        2. image-2023-03-06-12-29-56-206.png
          image-2023-03-06-12-29-56-206.png
          5 kB
        3. image-2023-03-06-12-34-02-841.png
          image-2023-03-06-12-34-02-841.png
          5 kB
        4. image-2023-03-06-12-34-21-224.png
          image-2023-03-06-12-34-21-224.png
          82 kB
        5. image-2023-03-06-12-35-16-587.png
          image-2023-03-06-12-35-16-587.png
          37 kB
        6. image-2023-03-06-12-35-58-098.png
          image-2023-03-06-12-35-58-098.png
          82 kB
        7. image-2023-04-07-16-52-59-272.png
          image-2023-04-07-16-52-59-272.png
          41 kB
        8. image-2023-04-07-16-53-50-500.png
          image-2023-04-07-16-53-50-500.png
          87 kB
        9. image-2023-04-07-16-54-54-656.png
          image-2023-04-07-16-54-54-656.png
          90 kB

            Assignee:
            Jeffery Xie
            Reporter:
            Suat Kandiş (Inactive)
            Votes:
            28 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved: