grails-json-rest-api
grails-json-rest-api copied to clipboard
Create/Update entity not working using Grails 2.3
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