Add form_set_error to keep current form state and not lost data
Merge branch 'entity-REST'