Commit 167c9f03 authored by Boris Kocherov's avatar Boris Kocherov

erp5_officejs: fix jio_configurator

parent b5e64615
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
type: "replicate", type: "replicate",
// XXX This drop the signature lists... // XXX This drop the signature lists...
query: { query: {
query: 'portal_type:"' + portal_type query: 'portal_type: ("Presentation", "Web Page", "Spreadsheet", "Text", "Web Illustration")'
  • This way of solving the problem seems too heavy in term of bandwidth consumption for users. I'd rather fix the way the portal_type setting is store and accessed.

  • @cedric.leninivin, i understand why you wrote this line of code. But if the storage description is saved in persistent storage and this storage is the same for all gadgets, then it doesn't work.

    I agree i did it the simliest way. Of course you can change it as you think, for me it's just should work.

  • I agree, it was done fast and the problem appear when using the same domain but doesn't in production. I'll fix the way the stting is accessed so that it depends on the application.

  • But this current change is harmful for the production case were each application has its domain.

  • I've deleted this commit. i made it as i thought the global setting gadget had been not working, but i just hadn't understood correctly how it had to work. For my testing purposes i have made subdomains for each application, so now i have the similar environment as Nexedi's production, and as a result i don't need this patch too.

Please register or sign in to reply
// XX Synchonizing the whole module is too much, here is a way to start quietly // XX Synchonizing the whole module is too much, here is a way to start quietly
// Supsended until modification_date is handled for synchronization // Supsended until modification_date is handled for synchronization
+ '" AND modification_date:>="' + ' AND modification_date:>="'
+ old_date.toISOString() + '" ', + old_date.toISOString() + '" ',
limit: [0, 1234567890] limit: [0, 1234567890]
}, },
...@@ -42,9 +42,7 @@ ...@@ -42,9 +42,7 @@
}, },
remote_sub_storage: { remote_sub_storage: {
type: "erp5", type: "erp5",
url: (new URI("hateoas")) url: "./hateoas",
.absoluteTo(location.href)
.toString(),
default_view_reference: "jio_view" default_view_reference: "jio_view"
} }
}; };
......
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>947.30152.42918.48418</string> </value> <value> <string>953.32209.35088.11844</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1450730073.08</float> <float>1472233610.35</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
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