Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0 RC1
    • Fix Version/s: 3.1 M1
    • Component/s: None
    • Labels:
      None
    • Environment:
      tomcat5.5, postgresql8.4, linux
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      To repeat:
      Download xwiki-enterprise-wiki-3.0-rc-1.war and xwiki-enterprise-wiki-3.0-rc-1.xar
      unzip the war into a directory in /webapps/
      modify the hibernate config file and add the jdbc driver
      start tomcat
      do the import
      observe XWikiPreferences fails.

      2011-03-25 22:02:26,933 [http://127.0.0.1:8081/xwiki3rc1/bin/import/XWiki/XWikiPreferences] ERROR packaging.Package               - Failed to save document XWiki.XWikiPreferences 
      com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiPreferences
      Wrapped Exception: Failed to commit or rollback transaction. Root cause [
      SQL next exception = [org.postgresql.util.PSQLException: ERROR: value too long for type character varying(40000)]]
      

      XWD_CLASS_XML has grown too large for the column. I think this should be taken as a wakeup call that XWikiPreferences class is becoming too big and we should take the opportunity to clean house rather than "borrowing to pay the bills" by increasing the maximum column size.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                calebjamesdelisle CalebJamesDeLisle
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: