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

[generate:profile] fix passing profile or machine name on the command line #3036

Merged
merged 1 commit into from
Dec 22, 2016
Merged

[generate:profile] fix passing profile or machine name on the command line #3036

merged 1 commit into from
Dec 22, 2016

Conversation

ao2
Copy link
Contributor

@ao2 ao2 commented Dec 21, 2016

When passing profile or machine-name on the command line like that:

drupal generate:profile --profile=PROFILE --machine-name=MACHINE_NAME

drupal console gives an error:

Error: Call to undefined method Drupal\Console\Command\Generate\ProfileCommand::validateModuleName()
in Drupal\Console\Command\Generate\ProfileCommand->interact()
(line 234 of .../vendor/drupal/console/src/Command/Generate/ProfileCommand.php).

After fixing this another similar error shows up:

Error: Call to undefined method Drupal\Console\Command\Generate\ProfileCommand::validateModule()
in Drupal\Console\Command\Generate\ProfileCommand->interact()
(line 253 of .../vendor/drupal/console/src/Command/Generate/ProfileCommand.php).

Fix both so that the command line from above works again.

Closes #3035

… line

When passing profile or machine-name on the command line like that:

  drupal generate:profile --profile=PROFILE --machine-name=MACHINE_NAME

drupal console gives an error:

Error: Call to undefined method Drupal\Console\Command\Generate\ProfileCommand::validateModuleName() in Drupal\Console\Command\Generate\ProfileCommand->interact() (line 234 of .../vendor/drupal/console/src/Command/Generate/ProfileCommand.php).

After fixing this another similar error shows up:

Error: Call to undefined method Drupal\Console\Command\Generate\ProfileCommand::validateModule() in Drupal\Console\Command\Generate\ProfileCommand->interact() (line 253 of .../vendor/drupal/console/src/Command/Generate/ProfileCommand.php).

Fix both so that the command line from above works again.

Closes #3035
@jmolivas jmolivas merged commit f31a252 into hechoendrupal:master Dec 22, 2016
@jmolivas
Copy link
Member

@ao2 Thanks for your contribution, your PR was merged. This will be included on the next release.

@jmolivas jmolivas added this to the 1.0.0-rc12 milestone Dec 22, 2016
@ao2 ao2 deleted the generate-profile-fix-3035 branch December 29, 2016 11:36
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

Successfully merging this pull request may close these issues.

[generate:profile] Call to undefined method when passing the profile name on the command line
2 participants