Commit 645c71c6 authored by Vincent Bechu's avatar Vincent Bechu Committed by Eteri

Revert "fixup erp5 configurator"

This reverts commit 9befc11a
parent 1fca0cf9
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
conflict_handling: 1, conflict_handling: 1,
parallel_operation_attachment_amount: 10, parallel_operation_attachment_amount: 10,
parallel_operation_amount: 10, parallel_operation_amount: 10,
signature_hash_key: "modification_date",
check_local_attachment_modification: attachment_synchro, check_local_attachment_modification: attachment_synchro,
check_local_attachment_creation: attachment_synchro, check_local_attachment_creation: attachment_synchro,
check_remote_attachment_modification: attachment_synchro, check_remote_attachment_modification: attachment_synchro,
...@@ -55,46 +54,37 @@ ...@@ -55,46 +54,37 @@
} }
}, },
local_sub_storage: { local_sub_storage: {
type: "mapping", type: "query",
property: {
"modification_date": ["formatDate", ["toISOString", "rfc822"]]
},
sub_storage: { sub_storage: {
type: "query", type: "uuid",
sub_storage: { sub_storage: {
type: "uuid", type: "indexeddb",
sub_storage: { database: "officejs-erp5"
type: "indexeddb",
database: "officejs-erp5"
}
} }
} }
}, },
remote_sub_storage: { remote_sub_storage: {
type: "saferepair", type: "mapping",
sub_storage: { attachment_list: ["data"],
type: "mapping", attachment: {
attachment_list: ["data"], "data": {
attachment: { "get": {
"data": { "uri_template": (new URI("hateoas"))
"get": { .absoluteTo(erp5_url)
"uri_template": (new URI("hateoas")) .toString() + extended_attachment_url
.absoluteTo(erp5_url) },
.toString() + extended_attachment_url "put": {
}, "erp5_put_template": (new URI("hateoas")).absoluteTo(erp5_url)
"put": { .toString() + "/{+id}/Base_edit"
"erp5_put_template": (new URI("hateoas")).absoluteTo(erp5_url)
.toString() + "/{+id}/Base_edit"
}
} }
},
sub_storage: {
type: "erp5",
url: (new URI("hateoas"))
.absoluteTo(erp5_url)
.toString(),
default_view_reference: result[2]
} }
},
sub_storage: {
type: "erp5",
url: (new URI("hateoas"))
.absoluteTo(erp5_url)
.toString(),
default_view_reference: result[2]
} }
} }
}; };
......
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.49200.15936.15257</string> </value> <value> <string>961.22099.5660.20138</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1504084622.06</float> <float>1502460802.37</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