Re: New serious bug, not Ready for a 2.0.4 release

Andreas Hartmann <[email protected]>
Newsgroups gmane.comp.cms.lenya.devel
Message-ID <[email protected]>
Am 17.12.10 20:51, schrieb Rainer Schöpf:
> On Wed, 15 Dec 2010 at 11:34 +0100, Florent André wrote:
>
>> Hi,
>>
>> On 12/14/2010 07:55 AM, Rainer Schöpf wrote:
>>> On Mon, 13 Dec 2010, Florent André wrote:
>>>
>>> [...]
>>>
>>>> Yep, $ ./build.sh test
>> ...
>>>> Running org.apache.lenya.cms.export.ImportTest Testsuite:
>>>> org.apache.lenya.cms.export.ImportTest Tests run: 1, Failures:
>>>> 1, Errors: 0, Time elapsed: 1.913 sec Tests run: 1, Failures:
>>>> 1, Errors: 0, Time elapsed: 1.913 sec Testcase: testImport took
>>>> 1.607 sec FAILED
>>>
>>> Exactly. That failure worries me.
>>
>> Ok solve in Committed revision 1049475.
>
> Atually no, it reappears in LinkTest. Problem is that links are not
> rewritten to lenya-document: form during import.
>
> This is a new bug introduced by the change described here:
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=47621
>
> When I revert the change, links are rewritten correctly.

That should be fixed now. Not in a very nice way, though: The link
converter checks the current session first, and if a URI is not
converted, it tries the new session, just to be sure. A cleaner way 
would probably be to re-set the source editor session before saving, but 
this is not so easy I think.

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.