You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Renaud Richardet <re...@wyona.com> on 2006/06/30 00:53:23 UTC

template-fallback problem

Hello,

When I try to access my publication mypub (that uses the default pub as 
template), I get this error.

(StylesheetHandler) 
template-fallback://lenya/modules/sitetree/xslt/navigation/tabs.xsl is 
directly or indirectly importing itself!
org.apache.cocoon.ProcessingException: Unable to get transformer handler 
for 
file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/lenya/modules/sitetree/xslt/navigation/tabs.xsl 
at <map:serialize type="xml"> - 
file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/modules/sitetree/sitemap.xmap:50:34 
at <map:transform> - 
file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/modules/sitetree/sitemap.xmap:42:95 
at <map:generate> - 
file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/modules/sitetree/sitemap.xmap:94:61 
at <map:serialize type="xml"> - 
file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:167:36 
at <map:transform type="link-rewrite"> - 
file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:164:49 
at <map:transform type="i18n"> -
[...]

But if I first open the default pub, and then mypub, it works. Can 
anyone reproduce this? If so, I'll fill a bug, and try to fix it...

Thanks,
Renaud

-- 
Renaud Richardet
COO America
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
office +1 857 776-3195                     mobile +1 617 230 9112
renaud.richardet <at> wyona.com              http://www.wyona.com


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


Re: template-fallback problem

Posted by Doug Chestnut <dh...@virginia.edu>.
Opps, I meant with the subject "publication specific source cache?"

Doug Chestnut wrote:
> Hi Renaud,
> Try the patch in my last email with subject "template-fallback problem". 
>  This should solve your problems, not really sure if it causes any 
> however, perhaps with a heavy load?  Let me know, the patch is the fix I 
> am using, if you find something better please share.
> 
> Thanks,
> --Doug
> 
> Renaud Richardet wrote:
> 
>> Hello,
>>
>> When I try to access my publication mypub (that uses the default pub 
>> as template), I get this error.
>>
>> (StylesheetHandler) 
>> template-fallback://lenya/modules/sitetree/xslt/navigation/tabs.xsl is 
>> directly or indirectly importing itself!
>> org.apache.cocoon.ProcessingException: Unable to get transformer 
>> handler for 
>> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/lenya/modules/sitetree/xslt/navigation/tabs.xsl 
>> at <map:serialize type="xml"> - 
>> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/modules/sitetree/sitemap.xmap:50:34 
>> at <map:transform> - 
>> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/modules/sitetree/sitemap.xmap:42:95 
>> at <map:generate> - 
>> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/modules/sitetree/sitemap.xmap:94:61 
>> at <map:serialize type="xml"> - 
>> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:167:36 
>> at <map:transform type="link-rewrite"> - 
>> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:164:49 
>> at <map:transform type="i18n"> -
>> [...]
>>
>> But if I first open the default pub, and then mypub, it works. Can 
>> anyone reproduce this? If so, I'll fill a bug, and try to fix it...
>>
>> Thanks,
>> Renaud
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
> 

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


Re: template-fallback problem

Posted by Doug Chestnut <dh...@virginia.edu>.
Hi Renaud,
Try the patch in my last email with subject "template-fallback problem". 
  This should solve your problems, not really sure if it causes any 
however, perhaps with a heavy load?  Let me know, the patch is the fix I 
am using, if you find something better please share.

Thanks,
--Doug

Renaud Richardet wrote:
> Hello,
> 
> When I try to access my publication mypub (that uses the default pub as 
> template), I get this error.
> 
> (StylesheetHandler) 
> template-fallback://lenya/modules/sitetree/xslt/navigation/tabs.xsl is 
> directly or indirectly importing itself!
> org.apache.cocoon.ProcessingException: Unable to get transformer handler 
> for 
> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/lenya/modules/sitetree/xslt/navigation/tabs.xsl 
> at <map:serialize type="xml"> - 
> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/modules/sitetree/sitemap.xmap:50:34 
> at <map:transform> - 
> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/modules/sitetree/sitemap.xmap:42:95 
> at <map:generate> - 
> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/modules/sitetree/sitemap.xmap:94:61 
> at <map:serialize type="xml"> - 
> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:167:36 
> at <map:transform type="link-rewrite"> - 
> file:/home/ren/src/lenya-1.4.x/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:164:49 
> at <map:transform type="i18n"> -
> [...]
> 
> But if I first open the default pub, and then mypub, it works. Can 
> anyone reproduce this? If so, I'll fill a bug, and try to fix it...
> 
> Thanks,
> Renaud
> 

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