Closed GoogleCodeExporter closed 8 years ago
I'll try to reproduce when I'm back from vacation (in about 10 days). Can you
also please try to use version 0.5-m1 and/or the latest development version.
Thanks, Martin
Original comment by krass...@googlemail.com
on 16 Aug 2011 at 7:37
Hi Martin,
Thanks for the response from your vacation :)
I have also tested the version 0.5 (I have cloned it from git), but it has
the same problem.
So, have a nice holiday.
Cahya.
Original comment by cahya.wi...@gmail.com
on 16 Aug 2011 at 8:02
[deleted comment]
I just remember about an old problem in grails/hibernate and its workaround.
I changed the generated @POST code in PersonCollectionResource.groovy from
@POST
Response create(Person dto) {
created dto.save()
}
to
@POST
Response create(Person dto) {
dto.merge()
created dto.save()
}
and it works :).
Original comment by cahya.wi...@gmail.com
on 16 Aug 2011 at 9:02
I updated http://jira.grails.org/browse/GRAILS-6459 because it is the cause for
this issue. I'll also evaluate your workaround in context of other reprorted
issues and in context of deep xml/json to domain-object binding.
Original comment by krass...@googlemail.com
on 27 Aug 2011 at 10:19
Original comment by krass...@googlemail.com
on 28 Aug 2011 at 6:31
Original comment by krass...@googlemail.com
on 28 Aug 2011 at 9:33
Fix now in master
(https://github.com/krasserm/grails-jaxrs/commit/955c77be0ba17fd2ba5e75028e9a0be
6f63a265b). This is a (temporary) workaround for
http://jira.grails.org/browse/GRAILS-6459.
Original comment by krass...@googlemail.com
on 30 Aug 2011 at 9:17
Original issue reported on code.google.com by
cahya.wi...@gmail.com
on 15 Aug 2011 at 4:23