Have been enjoying drush soql extension packaged with salesforce (salesforce_api/salesforce_api.drush.inc) for some time.
Recently switched to new All-Versions-2.0 Drush, which is working fine; however, when I use the "drush soql" commands that were working fine previously, now I get invisible output.
The query is made ok, and the data returned from SF, but the data itself is not printed. For example:
$ drush soql show tables
... (142 lines) ...
142 rows in set.
Another example:
$ drush soql select Id from Contact where Email = \'someone@someone.net\'
1 rows in set (2.68 sec)
Programmatically, I am getting data, so I wonder if this is happening to anyone else using "drush soql" commands with the All-Versions-2.0 drush release.
Again, thanks a million for this wonderful drush extension!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | salesforce_api.drush_.inc_.patch | 1.48 KB | victorkane |
Comments
Comment #1
victorkane commentedThanks to jmiccolis comment, here is a quick and dirty fix for the problem, obtained by rearranging the parameters in the call to drush_print_table() in several instances in the file salesforce_api.drush.inc
drush_print_table($rows, 4, TRUE); >>>> drush_print_table($rows, TRUE);
I have even left the previous lines commented out, since this may not be the best solution (output restored, however).
Comment #2
Bevan commentedhttp://drupal.org/cvs?commit=245264
I removed the commented-out lines.