Skip to content

Create/Update entity not working using Grails 2.3 #19

@abendada

Description

@abendada

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions