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

Check if webspace with given key exists in compilerpass #83

Open
alexander-schranz opened this issue Feb 12, 2018 · 0 comments
Open

Check if webspace with given key exists in compilerpass #83

alexander-schranz opened this issue Feb 12, 2018 · 0 comments

Comments

@alexander-schranz
Copy link
Member

alexander-schranz commented Feb 12, 2018

Q A
Bug? no
New Feature? no
Community Bundle Version 1.0.0-RC3
Sulu Version 1.6.14

Actual Behavior

Currently the community bundle does not error when webspace with specified key does not exist.

Expected Behavior

It should error when webspace with specified key does not exist.

Steps to Reproduce

Configurate community bundle for none existing webspace.

Possible Solutions

Add check to community manager and user manager compilerpass. Currently not easy possible as the webspace manager service is not available in the compilerpass.

  [Symfony\Component\DependencyInjection\Exception\RuntimeException]
  You have requested a synthetic service ("kernel"). The DIC does not know how to construct this servic
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

1 participant