Commit 2df7e77b authored by Roque's avatar Roque Committed by Roque

erp5_web_renderjs_ui: control on undefined value

parent bf4805d2
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
splitted_current_jio_key_list, splitted_current_jio_key_list,
command, command,
i; i;
if (is_updating || !result.jio_key) { if (is_updating || !result || !result.jio_key) {
return; return;
} }
if (gadget.state.redirect_to_parent) { if (gadget.state.redirect_to_parent) {
......
...@@ -142,13 +142,11 @@ ...@@ -142,13 +142,11 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/> <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <tuple>
<item> <none/>
<key> <string>_log</string> </key>
<value>
<list> <list>
<dictionary> <dictionary>
<item> <item>
...@@ -192,20 +190,16 @@ ...@@ -192,20 +190,16 @@
</item> </item>
</dictionary> </dictionary>
</list> </list>
</value> </tuple>
</item>
</dictionary>
</pickle> </pickle>
</record> </record>
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/> <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <tuple>
<item> <none/>
<key> <string>_log</string> </key>
<value>
<list> <list>
<dictionary> <dictionary>
<item> <item>
...@@ -228,7 +222,7 @@ ...@@ -228,7 +222,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>979.21958.43628.13243</string> </value> <value> <string>979.63390.23192.15445</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -246,7 +240,7 @@ ...@@ -246,7 +240,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1571996930.73</float> <float>1574416039.72</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
...@@ -255,9 +249,7 @@ ...@@ -255,9 +249,7 @@
</item> </item>
</dictionary> </dictionary>
</list> </list>
</value> </tuple>
</item>
</dictionary>
</pickle> </pickle>
</record> </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