Commit 72d08a1f authored by Nicolas Dumazet's avatar Nicolas Dumazet

Add test for bug #1549


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34351 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c50af870
...@@ -114,6 +114,13 @@ ...@@ -114,6 +114,13 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<!-- proxyfield should retrieve TALES recursively -->\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[6]</td>\n
<td>a constant of forty-two is still the answer</td>\n
</tr>\n
\n
<!-- Search row is here -->\n <!-- Search row is here -->\n
\n \n
<tr>\n <tr>\n
......
...@@ -106,6 +106,10 @@ ...@@ -106,6 +106,10 @@
<string>start_date</string> <string>start_date</string>
<string>Start Date</string> <string>Start Date</string>
</tuple> </tuple>
<tuple>
<string>constant_string_field</string>
<string>Constant</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_constant_string_field</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_constant_string_field</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Foo_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
552 553
\ 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