grails-json-rest-api icon indicating copy to clipboard operation
grails-json-rest-api copied to clipboard

Create/Update entity not working using Grails 2.3

Open abendada opened this issue 11 years ago • 1 comments

Hi, I notice the following issues: using the Person example when trying to add a new Person it failed with the message "Property [firstName] of class [class Person] cannot be null" when i try to modify a person nothing happen.

to get it work i needed to change the following line obj.properties = request.JSON.data to obj.properties = request.JSON within create and update action Regards

abendada avatar Sep 27 '13 12:09 abendada