Import/Restore fails: truncation error

XMLWordPrintable

      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)

              Assignee:
              Unassigned
              Reporter:
              Charles Miller (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: