You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/02/12 17:21:53 UTC

svn commit: r506521 - /lenya/trunk/src/modules/export/java/src/org/apache/lenya/cms/export/Importer.java

Author: andreas
Date: Mon Feb 12 08:21:52 2007
New Revision: 506521

URL: http://svn.apache.org/viewvc?view=rev&rev=506521
Log:
Set navigation title after importing non-default-language docs. This fixes bug #41593.

Modified:
    lenya/trunk/src/modules/export/java/src/org/apache/lenya/cms/export/Importer.java

Modified: lenya/trunk/src/modules/export/java/src/org/apache/lenya/cms/export/Importer.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/export/java/src/org/apache/lenya/cms/export/Importer.java?view=diff&rev=506521&r1=506520&r2=506521
==============================================================================
--- lenya/trunk/src/modules/export/java/src/org/apache/lenya/cms/export/Importer.java (original)
+++ lenya/trunk/src/modules/export/java/src/org/apache/lenya/cms/export/Importer.java Mon Feb 12 08:21:52 2007
@@ -140,6 +140,7 @@
                 newDoc = docManager.addVersion(doc, area.getName(), language, true);
                 resolver = (SourceResolver) this.manager.lookup(SourceResolver.ROLE);
                 SourceUtil.copy(resolver, contentUri, newDoc.getSourceURI());
+                newDoc.getLink().setLabel(navigationTitle);
             }
 
             String dcNamespace = "http://purl.org/dc/elements/1.1/";



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org