Author: andreas
Date: Tue Aug 14 06:48:30 2007
New Revision: 565755
URL: http://svn.apache.org/viewvc?view=rev&rev=565755
Log:
Don't store DocumentFactory instance in PublicationFactory, this seemed to cause trouble (see bug 43110)
Modified:
lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/PublicationManagerImpl.java
Modified: lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/PublicationManagerImpl.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/PublicationManagerImpl.java?view=diff&rev=565755&r1=565754&r2=565755
==============================================================================
--- lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/PublicationManagerImpl.java (original)
+++ lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/PublicationManagerImpl.java Tue Aug 14 06:48:30 2007
@@ -77,7 +77,7 @@
throw new PublicationException("The publication for ID [" + id
+ "] could not be created.");
}
- PublicationFactory pubFactory = new PublicationFactory(this.manager, factory, config);
+ PublicationFactory pubFactory = new PublicationFactory(this.manager, config);
try {
return (Publication) factory.getSession().getRepositoryItem(pubFactory, id);
} catch (RepositoryException e) {
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.