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

Core Drush functions that used drush_get_class() are broken #114

Open
opi opened this issue Sep 20, 2017 · 2 comments
Open

Core Drush functions that used drush_get_class() are broken #114

opi opened this issue Sep 20, 2017 · 2 comments

Comments

@opi
Copy link
Contributor

opi commented Sep 20, 2017

How to reproduce:

  • Find drush function that use drush_get_class() with grep -R 'drush_get_class' ~/.config/composer/vendor/drush/. For example, user-information or role-list or sql-conf --all.

  • Add these function to the $safe_commands in backdrop.drush.php

  • launch the command in your Backdrop docroot. You should see an error like Unable to load class Drush\Foo\Bar.

@opi
Copy link
Contributor Author

opi commented Dec 13, 2017

any thoughts @serundeputy ? I lack some OOP skills :(

@serundeputy
Copy link
Member

@opi I haven't had a look at this yet, but thanks for filing the issue!

Hoping to prioritize it once #7 is in.

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

No branches or pull requests

2 participants