-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I'm running this command against a Pantheon site:
drush @pantheon.alias behat --nocolor= create-term '{"name":"Test Term","vocabulary_machine_name":"Test Vocab","description":"g&lx\\#r)J\"kBm~?>Z^sY$;v23l=Mi7%Jsn|w93AgHCJ\/UBw9oZ|ss>+I#|'\''\\h*TXlU8i%lJ4{e-~Jr\"*^Rs81v=z5~8u$3u@M;@y#h.boHf*NX&(DI}AiR!V0H,i8^h\/3<M$NEz3]@`<4f3v58nzq{:e[Y PX5lN#$5N>zat\/u@aye$a@0q Lf7H3OT3Xm,&2^><;<4Vg(l8>7EiRljaggt~IOwbWuTlB`B*`6LM>}+E3WbzA8Ez[DfVH\"C}#}0"}'
It fails with the error Command not supported as typed. When I remove the special characters in the description it works.
The above command is being generated by the DrushDriver class and the description with the special characters is generated by the DrupalContext class. My work around for now is to extend the DrupalContext class and createTerm method to use the name() method of generating a random string rather than the string() method.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels