You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How does Sulu behave at the moment?
When connected as a Sulu User (via sulu's basic login system or Sulu Community Bundle login), being on a page that is rendering a smart content or any other articles rendering content type makes symfony throw an error that is related to elasticsearch.
Expected Behavior
What is the behavior you expect?
Rendered articles/articles previews don't produce an error when connected as a Sulu User.
I couldn't test if a simple symfony user works with the article bundle, as it is kind of hard to make a user with sulu's basic security.yaml configuration.
This problem is probably not related to massivesearch as searching for anything (including articles) from sulu's initial search form works fine.
ONLY the rendering of articles via a content type make everything explodes, but viewing an article page works fine.
The roles returned via the dump() twig function is PqnaUser which is on the Website system. (PqnaUser is the name of the user role I registered when doing the php bin/console sulu:community:init command line.)
Actual Behavior
How does Sulu behave at the moment?
When connected as a Sulu User (via sulu's basic login system or Sulu Community Bundle login), being on a page that is rendering a smart content or any other articles rendering content type makes symfony throw an error that is related to elasticsearch.
Expected Behavior
What is the behavior you expect?
Rendered articles/articles previews don't produce an error when connected as a Sulu User.
Steps to Reproduce
Here is the repository with all steps to reproduce the problem
Other things
security.yaml
configuration.EDIT August 4 2022
Elasticsearch queries in both cases:
Not connected (2 queries)
Connected (1 query only)
The roles returned in my case are:
The roles returned via the
dump()
twig function isPqnaUser
which is on theWebsite
system. (PqnaUser is the name of the user role I registered when doing thephp bin/console sulu:community:init
command line.)The table
se_roles
is as follows:And here's my
webspace.xml
webspace.xml
The text was updated successfully, but these errors were encountered: