Thanks Gunter for this. I'm forwarding it to the user list so that
others can help us too or learn from it...
-Vincent
Begin forwarded message:
From: "Gunter Leeb"
<Gunter.Leeb(a)mediaprint.at>
Date: April 25, 2007 8:05:54 PM CEDT
To: "Vincent Massol" <vincent(a)massol.net>
Subject: Re: Antw: XWiki: Testing for WIKI-1139
Hi Vincent,
Configuration:
Just a very basic configuration. We just started a pilot project a
few month ago.
- MySQL DB on a Solaris server (copy of our Pilot/Production
installation)
- XWikiRC1 with your new jar on my development Windows PC pointing
to this XWiki DB create for the old XWiki version.
- Just a bare install run, I haven't even tweaked the skin,
meaning, I am running with a skin (neither albatros nor dodo).
Testsequence (Without your new jar):
1. Create a normal page WebHome in a TestSpace
2. Added a link [asdföäüasdf] in the page
3. Followed the link from the page and created a child page: The
name is shortened and changed to "asdf???" - First Bug
4. Returning to the parent page: It still show the ? for "page not
created". But following the link leads to the before created page
in edit mode(!) - Second/Third Bug
5. Calling GUI Rename to "asdfasdföäüasdfasdf" -> claims to be
successful but clicking on the link from the Rename-successmessage
leads to the requested document could not be found page (the
document name suddenly contains again ???) - Fifth Bug (That is
now the opposite behavior of before: link claims ok, but page does
not exist)
6. Refilling the new page asdfasdföäüasdfasdf with content.
7. Calling Rename velocity method (see the AdminTool script that I
checked in in the CodeZone Snippet)
8. This time the rename to "asdfasdföäüasdfasf1" is successful, but
following the link again leads to an empty page. Somehow the real
page is lost. - Sixth Bug
9. Exported xar contains filenames with ? as well as a filename
with really bad decoded Unicode characters. - Seventh Bug
With your new jar, I suddenly get a much better behavior! Maybe
your changes were not picked up correctly.
Rename still fails with Pages that have documents attached that
contain special characters. Actually, rename fails on various
issues with attachments in the page (e.g. No row with the given
identifier exists) It does not seem to like old failed attachments
with 0 bytes (these actually also cannot be deleted !)
Also, I have now rerun the entire script on a totally newly created
XWiki installation with internal DB directly from the install
script, again with your jar.
This time I get ok behavior for any new szenarios I try out:
- everything is working and behaving correctly (links, rename, delete)
- imported the xar from the old configuration: The importer simply
ignores documents in the form: "Main.MaCi.Änderungsdienst". Don't
know whether this is because the Ä or the stupid name (our users
really screwed up the structure in the old XWiki). - I would
consider this also a bug. It should at least report that it could
not import that page - and why.
Now, I feel that pointing XWiki against an old Database might have
caused this behavior and worse.
Unfortunately, I cannot send you parts of the xar, since I don't
want to ask for permissions to do that and explain everything :)
and the data is from some important project.
I hope this helps nevertheless.
Regards,
Gunter
>> Vincent Massol <vincent(a)massol.net>
25.04.2007 16:07 >>>
Hi Gunter,
On Apr 25, 2007, at 3:51 PM, Gunter Leeb wrote:
Hi Vincent,
I have just tried it, but with the same or similar exception. I have
replaced the xwiki.jar and restartet. I would like to send you a log
file, also to confirm that it is really picking up all your changes.
Would you please send me a log4j.properties configured so you can see
all the aspects that you need.
Also, maybe it is relevant, but the pages got migrated from an old
0.9.940 (?) installation.
Thanks for trying it. Let's try to debug this... I think we can
follow 2 leads:
1) In your patched version of RC1, can you try creating a new page
with accents and then delete/rename it?
2) I'd like to reproduce your problem. Could you give me more
information about your setup (i18n setup, database and container) and
possibly it would be nice if you could send me a XAR export of your
wiki (not the whole thing, maybe only a few pages) so that I can try
it here. Could you also let me know exactly the steps you're
performing?
Thanks
-Vincent
PS: I'm ccing the dev list so that others can join us in debuggin
this.
>
> Regards,
>
> Gunter
>
>>>> Vincent Massol <vincent(a)massol.net> 25.04.2007 14:30 >>>
> Hi Gunter,
>
> I'm doing the release of XWiki 1.0 RC2 this afternoon and your bug
> was one that I wanted to check out before releasing RC2. I don't know
>
> if you've seen but I have commented on
http://jira.xwiki.org/jira/
> browse/XWIKI-1139.
>
> Do you think you could give it a quick try with the new JAR I've
> uploaded for you?
>
> Thanks a lot
>
> -Vincent Massol
> XWiki release manager