Kamna Jain wrote:
Hello All,
With Vincent's help I have migrated from the standalone wiki to the xwiki on
a remote server.
But, I am not able to import
· Main.LuceneSearch
· Panels.SyntaxHelp
· Photos.NewAlbum
pages, alongwith some other pages that I created and also my ow user
profile.
I also tried to import the above mentioned 3 pages from "
xwiki-enterprise-wiki-1.3~.xar <javascript:void()>" but it still gives
error: (for all 3 of these)
12:04:17,007 [
http://crntsbox01/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…]
[http-80-Processor20] ERROR packaging.Package - Failed to save
document Photos.NewAlbum
12:04:17,304 [
http://crntsbox01/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…]
[http-80-Processor20] ERROR .AbstractFlushingEventListener - Could not
synchronize database state with session
org.hibernate.StaleStateException: Batch update returned unexpected row
count from update [0]; actual row count: 0; expected: 1
That was a bug fixed in 1.4.
Also, another weird thing that is happening is that
all my groups show the
number of members - 1 more than the actual number of members in the group. I
know that each group has the blank XWiki.XwikiGroups object and one each for
a particular member. But, this was not a problem for me in my standalone
version (1.4-SNAPSHOT). In the new setup (which is 1.3.2.9174), it seems
like it is counting that blank object also as a member! Do I need to change
something for it to show the correct number of members in every group?
I think it's caused by Oracle converting empty strings to NULL, so it's
a bug in the counting code (should skip empty and NULL values, not just
empty values). Please open a bug in
jira.xwiki.org for this.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/