Josias Thoeny wrote:
On Mon, 2006-01-16 at 18:39 +0100, Joern Nettingsmeier wrote:

another small gotcha:

when i try to create a new language version of a document i just created
after applying your patch, i get this (url is
http://localhost:8888/UniDuE-Design/authoring/index.html?&lenya.usecase=site.createLanguage&lenya.exitUsecase=tab.overview&;):



There is a known bug about creation of new language versions:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36960

As a temporary workaround, you could apply the following diff:

[...]

I added the method SiteManager.isVisibleInNav() to allow CreateLanguage
to use the value of the existing language version. In fact, IMO the
DocumentManager.add() and SiteManager method signatures should be changed,
as the visibility attribute belongs to the node and not to the document.

The CreateLanguage usecase should work now, though I often get the
metadata-related "invalid UTF-8" exception :(

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to