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

Import/Restore fails: truncation error

    XMLWordPrintable

Details

    Description

      Backup import fails for random error, looking in logs you find some attribute was too big for its database field.

      Turns out the problem is in OutgoingLink - data created on HSQL can overrun the length of the VARCHAR() field for link.pagetitle, then when the data is imported into a real database, it complains.

      Fix: Add a bounds check to OutgoingLink.setDestinationPageTitle() (patched OutgoingLink class attached, suitable for 1.3 or 1.3.1 installations)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cmiller@atlassian.com Charles Miller
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: