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=34940>.
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=34940
------- Additional Comments From ronald@innovation.ch 2005-07-06 21:56 -------
I have the following, simple patch to suggest for this:
------------------------------------------------------------------------
--- src/java/org/apache/cocoon/components/source/impl/SitemapSource.java.orig
2004-06-25 09:14:53.000000000 -0700
+++ src/java/org/apache/cocoon/components/source/impl/SitemapSource.java
2005-07-06 12:36:51.676112390 -0700
@@ -114,7 +114,7 @@
if ( env == null ) {
throw new MalformedURLException("The cocoon protocol can not be
used outside an environment.");
}
- this.manager = manager;
+ this.manager = EnvironmentHelper.getSitemapServiceManager();
this.enableLogging(logger);
SitemapSourceInfo info = SitemapSourceInfo.parseURI(env, uri);
------------------------------------------------------------------------
I.e. just ignore the manager passed from the factory, and use the current
sitemap-specific manager instead.
--
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.
|