Commit 7bad2557 authored by Jérome Perrin's avatar Jérome Perrin

fix string:${here/portal_url/getPortalObject/absolute_url_path} typo. It was...

fix string:${here/portal_url/getPortalObject/absolute_url_path} typo. It was an AttributeError, and selenium hangs ...

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16337 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0a80e1fe
......@@ -3,8 +3,11 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
<tuple>
<string>Products.PageTemplates.ZopePageTemplate</string>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
......@@ -79,7 +82,7 @@
have id "2". This is probably a bit too stupid. -->\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/2/view"/>\n
<td tal:content="python: \'%s/foo_module/2/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -100,7 +103,7 @@ have id "2". This is probably a bit too stupid. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/2/1/view"/>\n
<td tal:content="python: \'%s/foo_module/2/1/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -128,7 +131,7 @@ have id "2". This is probably a bit too stupid. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/3/view"/>\n
<td tal:content="python: \'%s/foo_module/3/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -150,7 +153,7 @@ another object of the same type. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/4/view"/>\n
<td tal:content="python: \'%s/foo_module/4/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......
......@@ -3,8 +3,11 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
<tuple>
<string>Products.PageTemplates.ZopePageTemplate</string>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
......@@ -90,7 +93,7 @@ shouldn\'t do anything. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="string: ${here/portal_url/getPortalObject/absolute_url_path}/foo_module/1/view">/erp5/foo_module/1/view</td>\n
<td tal:content="python: \'%s/foo_module/1/view\' % here.portal_url.getPortalObject().absolute_url_path()">/erp5/foo_module/1/view</td>\n
<td/>\n
</tr>\n
<tr>\n
......
......@@ -3,8 +3,11 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
<tuple>
<string>Products.PageTemplates.ZopePageTemplate</string>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
......@@ -131,7 +134,7 @@ button</td></tr>\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="string: ${here/portal_url/getPortalObject/absolute_url_path}/portal_categories/foo_category/a/a1/view"/>\n
<td tal:content="python: \'%s/portal_categories/foo_category/a/a1/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n
<td/>\n
</tr>\n
</tbody></table>\n
......
211
\ No newline at end of file
212
\ 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