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

Rainer Schöpf <[email protected]>
Newsgroups gmane.comp.cms.lenya.devel
Message-ID <alpine.DEB.2.00.1012241527330.14958@wintermute>
On Thu, 23 Dec 2010 at 22:07 +0100, Andreas Hartmann wrote:

 > 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.

Wouldn't it be possible to roll-forward into the editor session all changes made 
to the sitetree while editing the document?

Anyway, all tests are looking good now. 

Seasons greeting to all of you!

 Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
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.