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 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
......@@ -57,7 +54,7 @@
portal = context.getPortalObject()\n
request = portal.REQUEST\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
tag = \'active-report-wrapped-%s\' % random.randint(0, 1000)\n
priority = 3\n
......@@ -171,7 +168,6 @@ return context.Base_redirect(\'view\', keep_items=dict(\n
<string>portal</string>
<string>request</string>
<string>format</string>
<string>_getitem_</string>
<string>skin_name</string>
<string>random</string>
<string>tag</string>
......
97
\ No newline at end of file
98
\ 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