There seems to be a problem with the Services module of Drupal 7 when submitting nodes using the node create reosurce, for example I can create nodes just fine, even with custom fields, but the problem is with term reference fields, the values never gets to them, here is an example:
var nodeCust={
node:{
title: 'undefined test 1',
type:'noticia',
name: 'admin',
body: {
und: [
{value:'sdasdasd', format:'full_html'}
]
},
field_custom:{
und:[ {value: 'test placeholder'} ]
},
field_theterm:{
und:[ {tid:"1"} ]
}
}
};
This is the object I send in JSON, and it works great the body has its value, the title and the custom field as well, but the "theterm" field is a term reference field in this content type, and it NEVER gets its value :o( , I tried with all the widgets, autocomplete, list etc but that should not really affect this since this is a REST Services call w/JSON.
Any ideas anyone? Thanks