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

[rest:enable] Does not enable as expected #2912

Closed
edutrul opened this issue Nov 10, 2016 · 4 comments
Closed

[rest:enable] Does not enable as expected #2912

edutrul opened this issue Nov 10, 2016 · 4 comments

Comments

@edutrul
Copy link
Contributor

edutrul commented Nov 10, 2016

Problem/Motivation

I was trying to enable a REST, but when I wanted to check it out in /admin/config/services/rest it doesn't enable as expected, it stays in disabled state.

How to reproduce

Steps:

  1. Make sure you have restui contrib module install https://www.drupal.org/project/restui
  2. Go to /admin/config/services/rest) enable an entity resource like for instance "content" which name is "entity:node"
  3. You will see "Content" is disabled
  4. Then execute "drupal rest:enable"
  5. After that type "entity:node" and choose method and authentication provider e.g "GET and basic_oauth"
  6. Go back to /admin/config/services/rest
  7. You will see it is not enabled

Other details:
Drupal version: 8.2
Console version: 1.0.0-rc8

Solution

I am going to be working on it and soon I'll have a PR asap

@edutrul
Copy link
Contributor Author

edutrul commented Nov 11, 2016

I did initial attempt
PR #2919
I'll keep working on it!

@edutrul
Copy link
Contributor Author

edutrul commented Nov 16, 2016

PR implementation:
#2919

PR languages:
English: hechoendrupal/drupal-console-en#39
Spanish: hechoendrupal/drupal-console-es#11

@jmolivas
Copy link
Member

PR merged.

@amaisano
Copy link

This is still a problem for me on Drupal console 1.6.1 and Drupal 8.4.5 (installed with composer).

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

No branches or pull requests

3 participants