Non core fields dont work with Drush create-node
Think I possibly added this to the wrong place:
https://github.com/drush-ops/behat-drush-endpoint/issues/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.