Commit 8fb6ef0f authored by Jérome Perrin's avatar Jérome Perrin

'deferred_portal_skin' is not in request when rendering a simple OOoTemplate

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38215 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 619e7424
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -57,7 +54,7 @@ ...@@ -57,7 +54,7 @@
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
request = portal.REQUEST\n request = portal.REQUEST\n
format = request.get(\'format\', \'\')\n format = request.get(\'format\', \'\')\n
skin_name = request[\'deferred_portal_skin\']\n skin_name = request.get(\'deferred_portal_skin\', portal.portal_skins.getDefaultSkin())\n
\n \n
tag = \'active-report-wrapped-%s\' % random.randint(0, 1000)\n tag = \'active-report-wrapped-%s\' % random.randint(0, 1000)\n
priority = 3\n priority = 3\n
...@@ -171,7 +168,6 @@ return context.Base_redirect(\'view\', keep_items=dict(\n ...@@ -171,7 +168,6 @@ return context.Base_redirect(\'view\', keep_items=dict(\n
<string>portal</string> <string>portal</string>
<string>request</string> <string>request</string>
<string>format</string> <string>format</string>
<string>_getitem_</string>
<string>skin_name</string> <string>skin_name</string>
<string>random</string> <string>random</string>
<string>tag</string> <string>tag</string>
......
97 98
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment