Comment 1 for bug 347162

Revision history for this message
Sylvain Viollon (thefunny) wrote :

Hello,

   I wrote two functional tests in five.grok, which ask to render in a template:

  <span
   tal:condition="exists: view/static/style.css">Test succeed</span>
  <span
    tal:condition="exists: view/static/nonexistant.css">Test failed</span>

   And:

  <span
   tal:condition="exists: context/++resource++five.grok.ftests.view/style.css">Test succeed</span>
  <span
   tal:condition="exists: context/++resource++five.grok.ftests.view/nonexistant.css">Test failed</span>

   And both examples work without any problems. Could you help me to reproduce that bug ? Maybe it's the ResourceRegistry which does some strange hacks.

   Sylvain,