From c985321c459729e9212b449e52ff4ca097c35caa Mon Sep 17 00:00:00 2001 From: Boxiang Sun <boxiang.sun@nexedi.com> Date: Mon, 4 Sep 2017 15:49:16 +0000 Subject: [PATCH] erp5_officejs_support_request_ui: Check the "Empty Criterion is Valid" checkbox in "Unsafe" web section. Without check the "Empty Criterion is Valid", the web section will return nothing. But due to a bug, the web section will return all documents anyway. This should be checked. --- .../unsafe.xml | 64 ++++++++----------- 1 file changed, 28 insertions(+), 36 deletions(-) diff --git a/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_site_module/erp5_officejs_support_request_ui/unsafe.xml b/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_site_module/erp5_officejs_support_request_ui/unsafe.xml index 30a50605b3..2073a8d3fd 100644 --- a/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_site_module/erp5_officejs_support_request_ui/unsafe.xml +++ b/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_site_module/erp5_officejs_support_request_ui/unsafe.xml @@ -163,12 +163,24 @@ </item> <item> <key> <string>empty_criterion_valid</string> </key> - <value> <int>0</int> </value> + <value> <int>1</int> </value> </item> <item> <key> <string>id</string> </key> <value> <string>unsafe</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Web Section</string> </value> @@ -179,6 +191,18 @@ <none/> </value> </item> + <item> + <key> <string>string_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>title</string> </key> <value> <string>Unsafe</string> </value> @@ -337,7 +361,7 @@ <item> <key> <string>comment</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> + <none/> </value> </item> <item> @@ -346,7 +370,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>0.0.0.0</string> </value> + <value> <string>961.50869.49076.30293</string> </value> </item> <item> <key> <string>state</string> </key> @@ -364,7 +388,7 @@ </tuple> <state> <tuple> - <float>1501748238.6</float> + <float>1504539105.96</float> <string>UTC</string> </tuple> </state> @@ -376,36 +400,4 @@ </tuple> </pickle> </record> - <record id="8" aka="AAAAAAAAAAg="> - <pickle> - <global name="Message" module="Products.ERP5Type.Message"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>default</string> </key> - <value> <string>Object copied from ${source_item}</string> </value> - </item> - <item> - <key> <string>domain</string> </key> - <value> <string>erp5_ui</string> </value> - </item> - <item> - <key> <string>mapping</string> </key> - <value> - <dictionary> - <item> - <key> <string>source_item</string> </key> - <value> <string>/erp5/web_site_module/renderjs_runner/unsafe</string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>message</string> </key> - <value> <string>Object copied from ${source_item}</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> -- 2.30.9