Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
None
-
None
-
ez Publish 5.4
Description
A service is configured with the site root (multisite setup)
etecture.helper.common: class: %myservice.class% arguments: - "@ezpublish.api.repository" calls: - [ setRootLocationId, ["$content.tree_root.location_id$"]]
Services called from a subrequest (twig) are initialised with the location id 2, not the configured one for the siteaccess group. While calling the ConfigResolver (in the same Request in the controller) is okay, delivers the correct id.