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

Tasklist macro allows duplicate items if items contain trailing spaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 1.4.3
    • None
    • None
    • None

    Description

      There is a bug in the current implementation of the tasklist macro that allows duplicate items to show up in the list if they have trailing spaces. So "apple" and "apple " would be erroneously considered different. When these similar items are marked as complete in Confluence, two entries are inserted into the OS_PROPERTYENTRY table. When these entries are exported to XML however, the trailing spaces are removed, so the second item is actually written to the XML file as a duplicate of the first. When this backup is restored, you will get a SQL duplicate key exception as Confluence tries to re-insert "apple" (without trailing space).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dave@atlassian.com dave (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: