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
Since the last update fixing the update problem with links, there is a new error. Doing a POST with empty links results in a:
org.springframework.http.converter.HttpMessageNotReadableException: Property 'links' is not of array type. Either eliminate this property from the document or make it an array.
Adding the links like this:
entity.setLinks(new ArrayList<LinkType>());
and it works, without any issues.
From my point of view it should also work with Links : null
Johannes Hiemer opened DATAREST-47 and commented
Since the last update fixing the update problem with links, there is a new error. Doing a POST with empty links results in a:
org.springframework.http.converter.HttpMessageNotReadableException: Property 'links' is not of array type. Either eliminate this property from the document or make it an array.
Adding the links like this:
entity.setLinks(new ArrayList<LinkType>());
and it works, without any issues.
From my point of view it should also work with Links : null
Affects: 1.0.0.RC2
Referenced from: commits 143ae89
The text was updated successfully, but these errors were encountered: