contentacms / contenta_jsonapi

Contenta CMS, the decoupled Drupal
http://www.contentacms.org/
GNU General Public License v2.0
328 stars 104 forks source link

You have requested a non-existent service "simple_oauth.filesystem" #380

Closed smthomas closed 5 years ago

smthomas commented 5 years ago

It looks like Simple Oauth has been updated so the simple_oauth.filesystem service has been renamed to simple_oauth.filesystem_checker.

I get the following error on a fresh install:

You have requested a non-existent service "simple_oauth.filesystem". Did you mean this: "simple_oauth.filesystem_checker"? in Drupal\Component\DependencyInjection\Container->get() (line 151 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Drupal\Component\DependencyInjection\Container->get('simple_oauth.filesystem') (Line: 158)
Drupal::service('simple_oauth.filesystem') (Line: 56)
_contenta_jsonapi_generate_keys(Array) (Line: 709)
install_run_task(Array, Array) (Line: 584)
install_run_tasks(Array, NULL) (Line: 125)
install_drupal(Object) (Line: 44)

Here is the commit with the change to the Simple Oauth module - https://git.drupalcode.org/project/simple_oauth/commit/c1bf3d72bcb198819b7e985b27c8c49be54b1d51#6eb96d8b527894aa56dced8bc2b246e5a52706ff

smthomas commented 5 years ago

It appears composer was downloading an old version for some reason. This issue has been resolved and can be closed.