1. Andriy Kornatskyy
  2. wheezy.template
  3. Issues
Issue #5 wontfix

the @extends statement don't raise any info error

Alan Cristhan Ruiz
created an issue

Hello.

When you make a mistake with the statement @extends, not shown any error information.

For example, if I put a path of file that does not exist, the result in the browser is this:

<body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> <body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> --> </font> </font> </font> </script> </object> </blockquote> </pre> </table> </table> </table> </table> </table> </font> </font> </font>

Please, fix this and check if this error occurs with other parts of the library.

Greetings and thanks.

Comments (2)

  1. Andriy Kornatskyy repo owner

    The @extends directive is executed at run time, thus there is no way to check whenever the master layout template is or will be available, since its resolution is completely dynamic. In other words: there is no strict coupling between a page and its layout, it can be changed dynamically at any time per execution context available in template engine.

  2. Log in to comment