Commit 48dcded0 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* rename CategoryDivergenceTester to CategoryMembershipDivergenceTester to...

* rename CategoryDivergenceTester to CategoryMembershipDivergenceTester to avoid conflict with the existing divergence tester.
* add a configuration form for CategoryMembershipDivergenceTester.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30728 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8992b947
......@@ -85,7 +85,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/FloatDivergenceTester_viewConfiguration</string> </value>
<value> <string>string:${object_url}/CategoryMembershipDivergenceTester_viewConfiguration</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -20,6 +20,8 @@
<value>
<tuple>
<string>action_type/object_view</string>
<string>portal_types/Float Divergence Tester/1</string>
<string>portal_types/Float Divergence Tester/1</string>
</tuple>
</value>
</item>
......@@ -33,7 +35,9 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
......@@ -51,6 +55,10 @@
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
......@@ -77,7 +85,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/PropertyDivergenceTester_view</string> </value>
<value> <string>string:${object_url}/Tester_view</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -9,6 +9,25 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_property_domain_dict</string> </key>
<value>
<dictionary>
<item>
<key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
......@@ -23,11 +42,11 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Category Divergence Testers can be used to test category divergence. Divergence testing can be configured to take into account parent / child membership. All configuration properties of divergence testers are stored at instance level in order to simplify their historization at rule level.</string> </value>
<value> <string>Category Membership Divergence Testers can be used to test category memberships. All configuration properties of divergence testers are stored at instance level in order to simplify their historisation at rule level.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addCategoryDivergenceTester</string> </value>
<value> <string>addCategoryMembershipDivergenceTester</string> </value>
</item>
<item>
<key> <string>filter_content_types</string> </key>
......@@ -43,7 +62,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Category Divergence Tester</string> </value>
<value> <string>Category Membership Divergence Tester</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
......@@ -64,4 +83,44 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string>erp5_content</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>short_title</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string>erp5_content</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>title</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<workflow_chain>
<chain>
<type>Category Divergence Tester</type>
<type>Category Membership Divergence Tester</type>
<workflow>edit_workflow</workflow>
</chain>
<chain>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Base_edit</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>my_tested_property</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>CategoryMembershipDivergenceTester_viewConfiguration</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>TesterType_view</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_view</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Tester Configuration</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>update_action_title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
16
\ No newline at end of file
17
\ No newline at end of file
Category Divergence Tester | configuration
Category Divergence Tester | predicate
Category Divergence Tester | view
Category Membership Divergence Tester | configuration
Category Membership Divergence Tester | predicate
Category Membership Divergence Tester | view
Float Divergence Tester | configuration
Float Divergence Tester | predicate
Float Divergence Tester | view
......
Category Divergence Tester
Category Membership Divergence Tester
Float Divergence Tester
Production Reduction Solver
Quantity Cancel Solver
......
Category Divergence Tester | edit_workflow
Category Divergence Tester | edit_workflow
Category Membership Divergence Tester | edit_workflow
Float Divergence Tester | edit_workflow
String Divergence Tester | edit_workflow
\ 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