Commit aeb30022 authored by Boxiang Sun's avatar Boxiang Sun Committed by Eteri

erp5_officejs_support_request_ui: Check the "Empty Criterion is Valid"...

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.
parent f08e240d
...@@ -163,12 +163,24 @@ ...@@ -163,12 +163,24 @@
</item> </item>
<item> <item>
<key> <string>empty_criterion_valid</string> </key> <key> <string>empty_criterion_valid</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>unsafe</string> </value> <value> <string>unsafe</string> </value>
</item> </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> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Web Section</string> </value> <value> <string>Web Section</string> </value>
...@@ -179,6 +191,18 @@ ...@@ -179,6 +191,18 @@
<none/> <none/>
</value> </value>
</item> </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> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Unsafe</string> </value> <value> <string>Unsafe</string> </value>
...@@ -337,7 +361,7 @@ ...@@ -337,7 +361,7 @@
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> <none/>
</value> </value>
</item> </item>
<item> <item>
...@@ -346,7 +370,7 @@ ...@@ -346,7 +370,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>0.0.0.0</string> </value> <value> <string>961.50869.49076.30293</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -364,7 +388,7 @@ ...@@ -364,7 +388,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1501748238.6</float> <float>1504539105.96</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
...@@ -376,36 +400,4 @@ ...@@ -376,36 +400,4 @@
</tuple> </tuple>
</pickle> </pickle>
</record> </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> </ZopeData>
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