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=41085>. 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=41085 Summary: Fallback not working correctly. Product: Lenya Version: 1.4 Platform: Other OS/Version: other Status: NEW Severity: blocker Priority: P2 Component: Miscellaneous AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I have three pubs. default -> edchanges -> dark. Default is the base from a fresh checkout. edchanges contains usecase changes but does not contain an xslt directory. It should be getting its layout from default. dark does have an xslt directory and files. If I start up Lenya and go to edchanges it grabs it from default, if I then go to dark, it gets it from default (wrong since it has its own). If I start up Lenya and go to dark it grabs its own layout. If I then go to edchanges or default it grabs the layout from dark, which is falling forward. Under the second situation, I see the following in the logs: SocketListener0-9 DEBUG core.xslt - resolve(href = fallback://xslt/page2xhtml.xsl, base = file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/xslt /page2xhtml-xhtml.xsl); resolver = [EMAIL PROTECTED] SocketListener0-9 DEBUG core.manager - Resolving 'fallback://xslt/page2xhtml.xsl' with base 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/edchanges /' in context 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/' SocketListener0-9 DEBUG core.manager - ComponentFactory creating new instance of org.apache.lenya.cms.cocoon.source.FallbackSourceFactory. SocketListener0-9 DEBUG core.manager - logger attribute is lenya.source.fallback SocketListener0-9 DEBUG core.manager - Resolved to systemID : fallback://xslt/page2xhtml.xsl SocketListener0-9 DEBUG source.fallback - Location: [fallback://xslt/page2xhtml.xsl] SocketListener0-9 DEBUG source.fallback - Path: [xslt/page2xhtml.xsl] SocketListener0-9 DEBUG core.manager - ComponentFactory creating new instance of org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl. SocketListener0-9 DEBUG core.manager - logger attribute is lenya.publication.templatemanager SocketListener0-9 DEBUG core.manager - ComponentFactory creating new instance of org.apache.lenya.cms.publication.DocumentManagerImpl. SocketListener0-9 DEBUG core.manager - no logger attribute available, using standard logger SocketListener0-9 DEBUG core.manager - ComponentFactory decommissioning instance of org.apache.lenya.cms.publication.DocumentManagerImpl. SocketListener0-9 DEBUG publication.templatemanager - Trying to resolve URI [context://lenya/pubs/dark/xslt/page2xhtml.xsl] SocketListener0-9 DEBUG core.manager - Resolving 'context://lenya/pubs/dark/xslt/page2xhtml.xsl' with base 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya /pubs/edchanges/' in context 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/' SocketListener0-9 DEBUG core.manager - Resolved to systemID : context://lenya/pubs/dark/xslt/page2xhtml.xsl SocketListener0-9 DEBUG core.manager - Creating source object for context://lenya/pubs/dark/xslt/page2xhtml.xsl SocketListener0-9 DEBUG servlet.ServletHandler - getRealPath of //lenya/pubs/dark/xslt/page2xhtml.xsl in [EMAIL PROTECTED] SocketListener0-9 DEBUG core.manager - Resolving 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/dark/xslt/page2xhtml.xsl' with base 'file:/home/rfro varp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/edchanges/' in context 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/' SocketListener0-9 DEBUG core.manager - Resolved to systemID : file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/dark/xslt/page2xhtml.xsl SocketListener0-9 DEBUG publication.templatemanager - Trying to resolve URI [context://lenya/pubs/edchanges/xslt/page2xhtml.xsl] SocketListener0-9 DEBUG core.manager - Resolving 'context://lenya/pubs/edchanges/xslt/page2xhtml.xsl' with base 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/ lenya/pubs/edchanges/' in context 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/' SocketListener0-9 DEBUG core.manager - Resolved to systemID : context://lenya/pubs/edchanges/xslt/page2xhtml.xsl SocketListener0-9 DEBUG core.manager - Creating source object for context://lenya/pubs/edchanges/xslt/page2xhtml.xsl SocketListener0-9 DEBUG servlet.ServletHandler - getRealPath of //lenya/pubs/edchanges/xslt/page2xhtml.xsl in [EMAIL PROTECTED] e SocketListener0-9 DEBUG core.manager - Resolving 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/edchanges/xslt/page2xhtml.xsl' with base 'file:/home /rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/edchanges/' in context 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/' SocketListener0-9 DEBUG core.manager - Resolved to systemID : file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/edchanges/xslt/page2xhtml.xsl SocketListener0-9 DEBUG publication.templatemanager - Trying to resolve URI [context://lenya/pubs/default/xslt/page2xhtml.xsl] SocketListener0-9 DEBUG core.manager - Resolving 'context://lenya/pubs/default/xslt/page2xhtml.xsl' with base 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/le nya/pubs/edchanges/' in context 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/' SocketListener0-9 DEBUG core.manager - Resolved to systemID : context://lenya/pubs/default/xslt/page2xhtml.xsl SocketListener0-9 DEBUG core.manager - Creating source object for context://lenya/pubs/default/xslt/page2xhtml.xsl SocketListener0-9 DEBUG servlet.ServletHandler - getRealPath of //lenya/pubs/default/xslt/page2xhtml.xsl in [EMAIL PROTECTED] SocketListener0-9 DEBUG core.manager - Resolving 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/xslt/page2xhtml.xsl' with base 'file:/home/r frovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/edchanges/' in context 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/' SocketListener0-9 DEBUG core.manager - Resolved to systemID : file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/xslt/page2xhtml.xsl SocketListener0-9 DEBUG publication.templatemanager - Trying to resolve URI [context:///xslt/page2xhtml.xsl] SocketListener0-9 DEBUG core.manager - Resolving 'context:///xslt/page2xhtml.xsl' with base 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/edchanges /' in context 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/' SocketListener0-9 DEBUG core.manager - Resolved to systemID : context:///xslt/page2xhtml.xsl SocketListener0-9 DEBUG core.manager - Creating source object for context:///xslt/page2xhtml.xsl SocketListener0-9 DEBUG servlet.ServletHandler - getRealPath of ///xslt/page2xhtml.xsl in [EMAIL PROTECTED] SocketListener0-9 DEBUG core.manager - Resolving 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/xslt/page2xhtml.xsl' with base 'file:/home/rfrovarp/lenya-1.4.x /build/lenya/webapp/lenya/pubs/edchanges/' in context 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/' SocketListener0-9 DEBUG core.manager - Resolved to systemID : file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/xslt/page2xhtml.xsl SocketListener0-9 DEBUG source.fallback - Resolved URI: [file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/dark/xslt/page2xhtml.xsl] SocketListener0-9 DEBUG core.manager - Resolving 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/dark/xslt/page2xhtml.xsl' with base 'file:/home/rfro varp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/edchanges/' in context 'file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/' SocketListener0-9 DEBUG core.manager - Resolved to systemID : file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/lenya/pubs/dark/xslt/page2xhtml.xsl SocketListener0-9 DEBUG core.manager - ComponentFactory decommissioning instance of org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl. SocketListener0-9 DEBUG source.fallback - Processing time: 06:00:00.3 SocketListener0-9 DEBUG core.manager - ComponentFactory decommissioning instance of org.apache.lenya.cms.cocoon.source.FallbackSourceFactory. SocketListener0-9 DEBUG core.xslt - xslSource = [EMAIL PROTECTED], system id = file:/home/rfrovarp/lenya-1.4.x/build/lenya/webapp/ lenya/pubs/dark/xslt/page2xhtml.xsl -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
