Tyler Frankenstein
Tyler Frankenstein
> If your getting 302 how does it pass the validation in logout? @webdobe I think because it is running through an XHR, and just the simple action of visiting...
@webdobe were you able to figure this out, or are you still having an issue here? Thanks.
> I have a new problem, when I create node with entity field always gave error, I think it should be the format problem. @fufu7755 What is the error?
@fufu7755 I agree with @kentr and it's likely you'll need to use `target_id` instead of `entity_id` like so: ``` var node = { type: 'article', title: 'Hello world', language: 'und',...
@fufu7755 What's the error message?
@fufu7755 It should also mention what field is causing the problem. What is that field? Then what is the **Widget** set to for that particular field on your **Manage fields**...
@fufu7755 I don't know what the format is, I'm guessing it is just this: ``` field_entity: { und: [ { target_id : '123' }] } ``` In cases like this,...
@fufu7755 If it's an autocomplete, then definitely use the format previosly discussed. For multiple values you need [this patch](https://www.drupal.org/node/2224803), and this format: ``` field_entity: { und: [ { target_id :...
@HaroldRKnieriem please use GitHub Markdown when posting issues/comments. I've updated the issue to include some basic markdown to help wrap the json output. As for the issue(s), from the output...
@HaroldRKnieriem thank you for clarifying. Will you please share some sample code of your usage of `drupal.user_login()`?