On 04/05/12 01:51, Sergiu Dumitriu wrote:
Hi Ramon, users,
The upcoming XWiki 3.5.1 should work well. Your options now are:
- wait for 3.5.1 to be released (should be in a few days) - use the latest 3.5 snapshot - use 3.5 and manually apply the fixes for PostgreSQL: -- use https://raw.github.com/xwiki/xwiki-platform/master/xwiki-platform-core/xwiki... as the mapping file (don't forget to enable it in hibernate.cfg.xml) -- run this script on the database, or each database if you're running a virtual wiki farm with more wikis: https://raw.github.com/xwiki/xwiki-platform/master/xwiki-platform-core/xwiki...
Personally I'd recommend waiting for 3.5.1, since it's the safest approach.
Well, it will work unless you have already entered some non-ascii data - it is being corrupted while entering xwikircs.xwr_patch. If you've already broken some data - let me know, I can share some suggestion how to make the broken versioning at least operational. I've had a bad luck (better say: didn't check if versioning works after upgrade) and now I have a few weeks of patches to repair. In short, we've had to: * for records craeted before upgrade - import xwikircs data from backup * for records created between update and switching hibernate mapping to text - convert non-UTF characters to whatever, what can be entered (and read) without error to database Cheers, R.