I tried to run this Page Template created at the root of my Plone website and got an error.
Note that the CSRF feature is switched off in buildout.cfg
environment-vars =
PLONE_CSRF_DISABLED true
The page template contained this:
<html>
<head>
<title tal:content="template/title">The title</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
</head>
<body>
<h1 title="${template/title}">
${template/title_or_id}
</h1>
</body>
</html>
I am working in the ZMI.
When I run test Plone responses with "The page does not seems to exist" and URL becomes: http://localhost:8080/Plone/ZScriptHTML_tryForm
After each save of the page template code I first visit the root of the website /Plone and then go back to reopen the page template file and run test again. Then it works until you change and save the code. Repeat the step above and test works again. Funny... and akward.
What is happening here? CSRF is switched off ...