You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracking the issue it came down to the use of \r\n to explode the $documents array in both lines linked bellow. Replacing \r\n with \n seems to fix it for me.
Hello,
I recently started using lodata integrated with EJ2 React - Syncfusion. Thanks for the package btw!
I've been implemating batch editing mode, which uses $batch - here it is a payload from a request:
--batch_c81e3155-cc0f-4b50-a619-a1ad50d37f46
Content-Type: multipart/mixed; boundary=changeset_bc197d01-816f-4f26-b65f-0c5f789ec7e7
--changeset_bc197d01-816f-4f26-b65f-0c5f789ec7e7
Content-Type: application/http
Content-Transfer-Encoding: binary
PATCH Areas(3) HTTP/1.1
Accept: application/json, text/javascript, /; q=0.01
Content-Id: 0
Content-Type: application/json; charset=utf-8
{"id":3,"general":"G"}
--changeset_bc197d01-816f-4f26-b65f-0c5f789ec7e7--
--batch_c81e3155-cc0f-4b50-a619-a1ad50d37f46--
Tracking the issue it came down to the use of \r\n to explode the $documents array in both lines linked bellow. Replacing \r\n with \n seems to fix it for me.
lodata/src/Transaction/MultipartDocument.php
Line 121 in 5ddd640
lodata/src/Transaction/MultipartDocument.php
Line 123 in 5ddd640
The text was updated successfully, but these errors were encountered: