Several methods that the standard templates use are not supported, these are:
self/root
Adding this code to the <head> of the /auth/ templates causes an error:
<link
rel="shortcut icon"
href="../../../css/favicon.ico"
type="image/x-icon"
petal:attributes="href string:${self/root/uri}favicon.ico"
petal:condition="true: self/root/get --favicon.ico;"
/>
[PETAL ERROR] Cannot find value for 'get' at '/self/root': get cannot be retrieved
self/cgi/path_info_eq
This code causes an error:
<link
rel="top"
href="/"
hreflang="en"
title="Root Document"
type="text/html"
petal:attributes="href self/root/uri;
hreflang self/root/lang;
title self/root/title;"
petal:condition="false: self/cgi/path_info_eq '/';"
/>
[PETAL ERROR] Cannot find value for 'path_info_eq' at '/self/cgi': path_info_eq cannot be retrieved
self/parent
This code causes an error:
<link
rel="parent"
href="#"
hreflang="en"
title="Document Parent Title"
type="text/html"
petal:attributes="href self/parent/uri;
hreflang self/parent/lang;
title self/parent/title"
/>
[PETAL ERROR] Cannot find value for 'uri' at '/self/parent': uri cannot be retrieved
/macros/style/#content
The style sheet macro fails:
<style media="screen" type="text/css" title="Screen style sheet" metal:use-macro="/macros/style/#content" > @import url(../../../css/public.ltr.css); @import url(../../../css/public.css); @import url(../../../css/colours.css); @import url(../../../css/admin.ltr.css); @import url(../../../css/admin.css); </style>
Error: Can't use an undefined value as an ARRAY reference at (eval 980) line 94.
Petal object dump:
==================
$VAR1 = bless( {
'lang' => 'en',
'file' => 'macros/style/en.html#content'
}, 'Petal' );