Commit 4c840334 authored by Jérome Perrin's avatar Jérome Perrin

Consistency tab: make a link to the constraint that emitted this message

parent d977773e
......@@ -10,12 +10,13 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>columns</string>
<string>list_method</string>
<string>search_columns</string>
<string>selection_name</string>
<string>list_method</string>
<string>sort_columns</string>
<string>columns</string>
<string>title</string>
<string>url_columns</string>
</list>
</value>
</item>
......@@ -81,8 +82,8 @@
<value>
<list>
<tuple>
<string>class_name</string>
<string>Class Name</string>
<string>constraint_relative_url</string>
<string>Constraint</string>
</tuple>
<tuple>
<string>description</string>
......@@ -92,10 +93,6 @@
<string>getMessage</string>
<string>Message</string>
</tuple>
<tuple>
<string>getObject</string>
<string>Object</string>
</tuple>
<tuple>
<string>getTranslatedMessage</string>
<string>Translated Message</string>
......@@ -163,6 +160,17 @@
<key> <string>title</string> </key>
<value> <string>Consistency</string> </value>
</item>
<item>
<key> <string>url_columns</string> </key>
<value>
<list>
<tuple>
<string>constraint_relative_url</string>
<string>ObjectMessage_getConstraintUrl</string>
</tuple>
</list>
</value>
</item>
</dictionary>
</value>
</item>
......
<?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.getPortalObject().restrictedTraverse(brain.constraint_relative_url).absolute_url()\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>brain, *args, **kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ObjectMessage_getConstraintUrl</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
154
\ No newline at end of file
155
\ 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