Commit 16b10406 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_core/erp5_web_renderjs_ui] Update jIO 3.36.1

parent 1aa49183
...@@ -13111,7 +13111,12 @@ return new Parser; ...@@ -13111,7 +13111,12 @@ return new Parser;
_linshare_uuid: entry_list[i].uuid _linshare_uuid: entry_list[i].uuid
}; };
if (options.include_docs === true) { if (options.include_docs === true) {
try {
entry.doc = JSON.parse(entry_list[i].metaData) || {}; entry.doc = JSON.parse(entry_list[i].metaData) || {};
} catch (error) {
// Metadata are not always JSON
entry.doc = {};
}
} }
result_list.push(entry); result_list.push(entry);
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>973.4826.12688.30276</string> </value> <value> <string>973.43645.19782.57207</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1548090618.17</float> <float>1550160394.98</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -13111,7 +13111,12 @@ return new Parser; ...@@ -13111,7 +13111,12 @@ return new Parser;
_linshare_uuid: entry_list[i].uuid _linshare_uuid: entry_list[i].uuid
}; };
if (options.include_docs === true) { if (options.include_docs === true) {
try {
entry.doc = JSON.parse(entry_list[i].metaData) || {}; entry.doc = JSON.parse(entry_list[i].metaData) || {};
} catch (error) {
// Metadata are not always JSON
entry.doc = {};
}
} }
result_list.push(entry); result_list.push(entry);
......
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