[Erp5-report] r41624 jerome - in /erp5/trunk/bt5/erp5_ui_test: PathTemplateItem/portal_test...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 21 18:12:27 CET 2010
Author: jerome
Date: Tue Dec 21 18:12:27 2010
New Revision: 41624
URL: http://svn.erp5.org?rev=41624&view=rev
Log:
calling getProperty?key= in the URL does not work when psyco is installed, so use an intermediate python script
Added:
erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getLocalTitle.xml
Modified:
erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/list_field_zuite/testLocalProperty.xml
erp5/trunk/bt5/erp5_ui_test/bt/revision
Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/list_field_zuite/testLocalProperty.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/list_field_zuite/testLocalProperty.xml?rev=41624&r1=41623&r2=41624&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/list_field_zuite/testLocalProperty.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/list_field_zuite/testLocalProperty.xml [utf8] Tue Dec 21 18:12:27 2010
@@ -112,7 +112,7 @@
\n
<tr>\n
<td>open</td>\n
- <td>${base_url}/foo_module/0/getProperty?key=local_title</td>\n
+ <td>${base_url}/foo_module/0/Foo_getLocalTitle</td>\n
<td></td>\n
</tr>\n
<tr>\n
Added: erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getLocalTitle.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getLocalTitle.xml?rev=41624&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getLocalTitle.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getLocalTitle.xml [utf8] Tue Dec 21 18:12:27 2010
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>Script_magic</string> </key>
+ <value> <int>3</int> </value>
+ </item>
+ <item>
+ <key> <string>_bind_names</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>_asgns</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>name_container</string> </key>
+ <value> <string>container</string> </value>
+ </item>
+ <item>
+ <key> <string>name_context</string> </key>
+ <value> <string>context</string> </value>
+ </item>
+ <item>
+ <key> <string>name_m_self</string> </key>
+ <value> <string>script</string> </value>
+ </item>
+ <item>
+ <key> <string>name_subpath</string> </key>
+ <value> <string>traverse_subpath</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>_body</string> </key>
+ <value> <string>return context.getProperty(\'local_title\')\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>Foo_getLocalTitle</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/revision?rev=41624&r1=41623&r2=41624&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision [utf8] Tue Dec 21 18:12:27 2010
@@ -1 +1 @@
-663
\ No newline at end of file
+664
\ No newline at end of file
More information about the Erp5-report
mailing list