Open spring-projects-issues opened 6 years ago
Norbert Somlai opened DATAREST-1207 and commented
This request users/search/name?name=x has returns an empty collection yet there is a content array when default-media-type is application/json:
{ "links" : [ { "rel" : "self", "href" : "http://localhost:8080/backend/api/users/search/name?name=x" } ], "content" : [ { "rel" : null, "collectionValue" : true, "relTargetType" : "com.xxx.backend.model.User", "value" : [ ] } ] }
application/hal+json works fine:
{ "_embedded" : { "users" : [ ] }, "_links" : { "self" : { "href" : "http://localhost:8080/backend/api/users/search/name?name=x" } } }
Affects: 3.0.4 (Kay SR4)
Norbert Somlai commented
Sorry, wrong project. Wanted to add to Spring Data Rest
Ben Madore commented
Looks like the same issue as DATAREST-1346
Norbert Somlai opened DATAREST-1207 and commented
This request users/search/name?name=x has returns an empty collection yet there is a content array when default-media-type is application/json:
application/hal+json works fine:
Affects: 3.0.4 (Kay SR4)