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) {
...@@ -341,4 +341,4 @@ ...@@ -341,4 +341,4 @@
} }
}); });
}(window, document, rJS, RSVP, calculatePageTitle, Handlebars, ensureArray)); }(window, document, rJS, RSVP, calculatePageTitle, Handlebars, ensureArray));
\ No newline at end of file
...@@ -142,122 +142,114 @@ ...@@ -142,122 +142,114 @@
</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> <list>
<value> <dictionary>
<list> <item>
<dictionary> <key> <string>action</string> </key>
<item> <value> <string>publish_alive</string> </value>
<key> <string>action</string> </key> </item>
<value> <string>publish_alive</string> </value> <item>
</item> <key> <string>actor</string> </key>
<item> <value> <string>superkato</string> </value>
<key> <string>actor</string> </key> </item>
<value> <string>superkato</string> </value> <item>
</item> <key> <string>comment</string> </key>
<item> <value> <string></string> </value>
<key> <string>comment</string> </key> </item>
<value> <string></string> </value> <item>
</item> <key> <string>error_message</string> </key>
<item> <value> <string></string> </value>
<key> <string>error_message</string> </key> </item>
<value> <string></string> </value> <item>
</item> <key> <string>time</string> </key>
<item> <value>
<key> <string>time</string> </key> <object>
<value> <klass>
<object> <global name="DateTime" module="DateTime.DateTime"/>
<klass> </klass>
<global name="DateTime" module="DateTime.DateTime"/> <tuple>
</klass> <none/>
<tuple> </tuple>
<none/> <state>
</tuple> <tuple>
<state> <float>1523969253.3</float>
<tuple> <string>UTC</string>
<float>1523969253.3</float> </tuple>
<string>UTC</string> </state>
</tuple> </object>
</state> </value>
</object> </item>
</value> <item>
</item> <key> <string>validation_state</string> </key>
<item> <value> <string>published_alive</string> </value>
<key> <string>validation_state</string> </key> </item>
<value> <string>published_alive</string> </value> </dictionary>
</item> </list>
</dictionary> </tuple>
</list>
</value>
</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> <list>
<value> <dictionary>
<list> <item>
<dictionary> <key> <string>action</string> </key>
<item> <value> <string>edit</string> </value>
<key> <string>action</string> </key> </item>
<value> <string>edit</string> </value> <item>
</item> <key> <string>actor</string> </key>
<item> <value> <string>zope</string> </value>
<key> <string>actor</string> </key> </item>
<value> <string>zope</string> </value> <item>
</item> <key> <string>comment</string> </key>
<item> <value>
<key> <string>comment</string> </key> <none/>
<value> </value>
<none/> </item>
</value> <item>
</item> <key> <string>error_message</string> </key>
<item> <value> <string></string> </value>
<key> <string>error_message</string> </key> </item>
<value> <string></string> </value> <item>
</item> <key> <string>serial</string> </key>
<item> <value> <string>979.63390.23192.15445</string> </value>
<key> <string>serial</string> </key> </item>
<value> <string>979.21958.43628.13243</string> </value> <item>
</item> <key> <string>state</string> </key>
<item> <value> <string>current</string> </value>
<key> <string>state</string> </key> </item>
<value> <string>current</string> </value> <item>
</item> <key> <string>time</string> </key>
<item> <value>
<key> <string>time</string> </key> <object>
<value> <klass>
<object> <global name="DateTime" module="DateTime.DateTime"/>
<klass> </klass>
<global name="DateTime" module="DateTime.DateTime"/> <tuple>
</klass> <none/>
<tuple> </tuple>
<none/> <state>
</tuple> <tuple>
<state> <float>1574416039.72</float>
<tuple> <string>UTC</string>
<float>1571996930.73</float> </tuple>
<string>UTC</string> </state>
</tuple> </object>
</state> </value>
</object> </item>
</value> </dictionary>
</item> </list>
</dictionary> </tuple>
</list>
</value>
</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