Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
3.0 RC1
-
None
-
None
-
tomcat5.5, postgresql8.4, linux
-
Unknown
-
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
- relates to
-
XAADMINISTRATION-260 Remove deprecated preferences
- Closed