-
Notifications
You must be signed in to change notification settings - Fork 16
Unexpected end of input #26
Comments
Sad. Thank you for reporting. |
@babolivier, could you show the code which product this output ? |
Here it is: https://github.com/babolivier/cozy-library/blob/development/server/models/book.coffee#L45 |
I made a few test and am totally unable to reproduce this bug. Could you please : Thanks ! |
Hi @aenario, Sorry for the delay in my reply. The book object is defined just above the line I sent you, so I believe you're asking be for an example of the item object, here is one:
Then I added the
By the way, I obviously checked, and I get the same bug with the current version of the file: https://github.com/babolivier/cozy-library/blob/development/server/models/book.coffee Hope this'll help. |
Ok, Got it ! It is caused by the accents :
So, we set the Content-Length at 22 but, the byte length is 24, so the DS missed the last two char and bug ensues. I couldn't reproduce because I was testing with ASCII characters only ! |
Hi @babolivier, |
When trying to create an object in the DataSystem with cozydb@0.0.19 for a side project, I get this error in the DataSystem logs:
I just switched to version 0.0.16 for now and it's working fine so far.
The text was updated successfully, but these errors were encountered: