Closed (duplicate)
Project:
Services Entity API
Version:
7.x-2.0-alpha8
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2015 at 20:59 UTC
Updated:
24 Nov 2015 at 10:21 UTC
Jump to comment: Most recent
Comments
Comment #2
joachim commentedThat's weird, it should work with generic entities.
Can you do some debugging to see what's getting called by the service?
Comment #3
neubreed commentedThanks Joachim.
I think that's the bit I need help with ..I'm not sure how or where to debug this module. I'd say the way I'm formatting my fields is incorrect. What would be the best way to go about that?
Cheers,
Ryan
Comment #4
neubreed commentedI figured out the correct format for posting custom fields:
But validation isn't working at all. other standard fields are left blank such as UID, date created etc. No error messages come back for required fields. I can post whatever I like even a blank submission which I shouldn't be able to do.
Comment #5
joachim commentedAh. See #2213503: call field_attach_validate() prior to saving entities. I thought that had got in -- it hasn't. Can you try it and post feedback over there please?