You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2005/06/16 06:39:21 UTC

DO NOT REPLY [Bug 35382] New: - [Patch] Create Publication from Template fails

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35382>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35382

           Summary: [Patch] Create Publication from Template fails
           Product: Lenya
           Version: Trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: dev@lenya.apache.org
        ReportedBy: dhc4z@virginia.edu


Usecase has problems when it tries to copy config/doctypes/doctypes.xconf which
doesn't exist in the default pub.
Seems to work when I remove the path from the sourcesToCopy array:

Index:
C:/src/lenya-1.4.x.WEBDAV/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
===================================================================
---
C:/src/lenya-1.4.x.WEBDAV/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
(revision 190331)
+++
C:/src/lenya-1.4.x.WEBDAV/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
(working copy)
@@ -47,7 +47,7 @@
 /**
  * Instantiate the publication.
  * 
- * @version $Id:$
+ * @version $Id$
  */
 public class Instantiator extends AbstractLogEnabled implements
         org.apache.lenya.cms.publication.templating.Instantiator, Serviceable {
@@ -55,7 +55,7 @@
     protected static final String[] sourcesToCopy = { "publication.xml",
         "config/publication.xconf", "config/ac/passwd/",
         "config/ac/ac.xconf","config/ac/policies/", 
-        "config/ac/usecase-policies.xml", "config/doctypes/doctypes.xconf",
+        "config/ac/usecase-policies.xml",
         "config/workflow/workflow.xml", "content/" };
 
     /**

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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