Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-10287

Creating a template using {metadata-list} macro leads to an error page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • 2.6.0, 2.6.1, 2.6.2, 2.7
    • None

    Description

      When creating a global template or space template with metadata macros (such as {metadata-list}), the following stack trace is produced:

      Cause:
      org.springframework.transaction.UnexpectedRollbackException: Transaction has been rolled back because it has been marked as rollback-only
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
      ...
      

      Below is an example of the "Wiki Markup" used in the template that reproduce the problem:

      {metadata-list}
      || A | {page-info:title} |
      || B | {text-data:M|required=true} |
      || C | {text-data:N|required=true} |
      || D | {text-data:S|required=true} |
      || N | {text-data: N} |
      || AA | {list-data:O}{list-option}A{list-option}{list-option}B{list-option}{list-option}test{list-option}{list-data}|
      || R | {text-data:R} |
      || L | {text-data:L} |
      || Date | {date-data: Date|format=yyyy-MMMM-dd} |
      {metadata-list}
      

      Attachments

        Issue Links

          Activity

            People

              shaffenden Steve Haffenden (Inactive)
              cltham Choy Li Tham [Atlassian]
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: