Commit 05d4c9b5 authored by Romain Courteaud's avatar Romain Courteaud

Release version 3.10.2

Contains an ERPStorage fix.
parent 4d69716f
......@@ -8783,7 +8783,8 @@ return new Parser;
form_data_json = {},
field,
key,
prefix_length;
prefix_length,
result;
form_data_json.form_id = {
"key": [form.form_id.key],
......@@ -8811,11 +8812,15 @@ return new Parser;
}
}
return {
action_href: form._actions.put.href,
result = {
data: converted_json,
form_data: form_data_json
};
if (form.hasOwnProperty('_actions') &&
form._actions.hasOwnProperty('put')) {
result.action_href = form._actions.put.href;
}
return result;
});
}
......@@ -8973,6 +8978,12 @@ return new Parser;
}
}
}
if (!result.hasOwnProperty('action_href')) {
throw new jIO.util.jIOError(
"ERP5: can not modify document: " + id,
403
);
}
return context.putAttachment(
id,
result.action_href,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "jio",
"version": "v3.10.1",
"version": "v3.10.2",
"license": "LGPLv3",
"author": "Nexedi SA",
"contributors": [
......
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