Commit 1f5b2db4 authored by Roque's avatar Roque

erp5_officejs: no need of explicitly commit the configuration manifest or use old manifest

- the test failed the same with both attempts
parent b55518b1
......@@ -97,9 +97,9 @@
var storage = this, url = "";
return new RSVP.Queue()
.push(function () {
console.log("[DEBUG] APPCACHESTORAGE JIO.util.ajax...");
url = new URL(storage._manifest, new URL(storage._version,
storage._origin_url))
console.log("[DEBUG] APPCACHESTORAGE JIO.util.ajax to url: " + url);
return jIO.util.ajax({
type: "GET",
url: url
......@@ -138,14 +138,7 @@
if (!error.message) {
console.log("error getting the manifest:");
console.log(error);
var extra = "no-extra-info";
if (error && error.currentTarget) {
extra = "target.responseURL: " + error.currentTarget.responseURL +
" .|| with status: " + error.currentTarget.status +
" .|| with response: " + error.currentTarget.response +
" .|| with responseText: " + error.currentTarget.responseText;
}
error.message = "Can't get manifest. URL: " + url + " \n. error extra: " + String(extra);
error.message = "Can't get manifest. URL: " + url;
}
throw error;
});
......
......@@ -237,7 +237,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>974.30112.49989.47786</string> </value>
<value> <string>974.30192.60926.39594</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -255,7 +255,7 @@
</tuple>
<state>
<tuple>
<float>1553017448.88</float>
<float>1553021879.69</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -79,8 +79,7 @@
prefix = "./",
hateoas_script = "hateoas/ERP5Document_getHateoas",
// TODO manifest should come from gadget.props.cache_file -add script in html body
//manifest = "gadget_officejs_discussion_tool.configuration",
manifest = "gadget_officejs_discussion_tool.appcache",
manifest = "gadget_officejs_discussion_tool.configuration",
jio_appchache_options = {
type: "replicate",
parallel_operation_attachment_amount: 10,
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>974.30141.55800.33228</string> </value>
<value> <string>974.30189.58056.44066</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1553018807.45</float>
<float>1553021741.56</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -42,5 +42,4 @@ web_site_module/officejs_todomvc
web_site_module/officejs_wallsearch
web_site_module/officejs_wallsearch/**
web_site_module/officejs_whiteboard
web_site_module/officejs_media_player/**
web_page_module/gadget_officejs_discussion_tool_configuration
\ No newline at end of file
web_site_module/officejs_media_player/**
\ No newline at end of file
portal_types/Web Illustration
web_page_module/gadget_officejs_discussion_tool_configuration
\ No newline at end of file
portal_types/Web Illustration
\ No newline at end of file
......@@ -42,5 +42,4 @@ web_site_module/officejs_todomvc
web_site_module/officejs_wallsearch
web_site_module/officejs_wallsearch/**
web_site_module/officejs_whiteboard
web_site_module/officejs_media_player/**
web_page_module/gadget_officejs_discussion_tool_configuration
\ No newline at end of file
web_site_module/officejs_media_player/**
\ No newline at end of file
......@@ -9,7 +9,6 @@ web_page_module/dhtmlx_gantt_*
web_page_module/fb_sdk_js
web_page_module/gadget_field_*
web_page_module/gadget_officejs_*
web_page_module/gadget_officejs_discussion_tool_configuration
web_page_module/jio_*
web_page_module/officejs_audioplayer_*
web_page_module/officejs_todomvc_*
......
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