https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44067

--- Comment #1 from Clemens Tubach <[email protected]> ---
The problem also occurs when attaching documents:

XHR PUT
https://staff-main.koha-sandboxes.org/api/v1/erm/agreements/4
[HTTP/1.1 400 Bad Request 57ms]

Payload
=======
agreement_licenses      []
agreement_relationships []
closure_reason  null
description     ""
documents       (1)[…]
0       {…}
_strings        {}
agreement_id    4
document_id     1
file_description        null
file_name       "Test.pdf"
license_id      null
notes   null
physical_location       null
uri     null
extended_attributes     []
is_perpetual    false
license_info    ""
name    "test with document"
periods []
renewal_priority        ""
status  "active"
user_roles      []
vendor_id       null

Answer
======
errors  [ {…} ]
0       { message: "Properties not allowed: _strings.", path:
"/body/documents/0" }
message "Properties not allowed: _strings."
path    "/body/documents/0"
status  400


## Steps to Reproduce

1. Create a new agreement with a document
2. Save the agreement
3. Open it in Edit mode
4. Save the agreement

**Note:** If the issue does not occur immediately, repeat the steps 3 and 4
several times

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to