From b3e8000c798c750ddf55f8bbd33499a6273a0e19 Mon Sep 17 00:00:00 2001
From: Vincent Bechu <vincent.bechu@nexedi.com>
Date: Thu, 12 Oct 2017 14:34:40 +0000
Subject: [PATCH] [erp5_officejs] Adapt erp5_configurator to use jio fast
 synchro

---
 .../gadget_officejs_page_jio_erp5_configurator_js.js        | 2 ++
 .../gadget_officejs_page_jio_erp5_configurator_js.xml       | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
index 0ed935a977..7f69aab86e 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
@@ -32,6 +32,7 @@
           conflict_handling: 1,
           parallel_operation_attachment_amount: 10,
           parallel_operation_amount: 10,
+          signature_hash_key: "modification_date",
           check_local_attachment_modification: attachment_synchro,
           check_local_attachment_creation: attachment_synchro,
           check_remote_attachment_modification: attachment_synchro,
@@ -45,6 +46,7 @@
           check_remote_deletion: true,
           signature_sub_storage: {
             type: "query",
+            schema: {"modification_date": {type: "string", format: "date-time"}},
             sub_storage: {
               type: "uuid",
               sub_storage: {
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
index 4fa3cbf7a1..71e2af0753 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
@@ -259,7 +259,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>vincent</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -273,7 +273,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>961.22099.5660.20138</string> </value>
+                <value> <string>962.47399.35230.56951</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -291,7 +291,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1502460802.37</float>
+                        <float>1507818827.39</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
-- 
2.30.9