Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non core fields dont work with Drush create-node #93

Open
Skullywag opened this issue Jun 22, 2016 · 0 comments
Open

Non core fields dont work with Drush create-node #93

Skullywag opened this issue Jun 22, 2016 · 0 comments

Comments

@Skullywag
Copy link

Skullywag commented Jun 22, 2016

Think I possibly added this to the wrong place:

drush-ops/behat-drush-endpoint#3

As per that ticket, using createNode or createNodes with fields that arent core fields ends in error:

Error: __clone method called on non-object in behat-drush-endpoint\behat.d7.drush.inc,

Ive been trying to get this running for a few months now and was hopeful after seeing the recent releases containing fixes to this area, but im still plagued by the above.

So for example this:

drush @myAlias behat create-node '{"type":"News", "title":"new node", "author":"test.editor", "status":1}'

will work ok, but this:

drush @myAlias behat create-node '{"type":"News", "title":"new node", "author":"test.editor", "status":1, "field_my_new_field":"test text"}'

will error as above. That new field is mandatory as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant