Details
-
Bug
-
Resolution: Unresolved
-
High
-
2.2.3, 2.3.1
-
None
Description
If you somehow provide location id to Content View, then it will throw the following now after ContentProxy feature was added in 2.2:
Argument 'Location' is invalid: Provided location does not belong to selected content as requested via contentId parameter
This for instance break Step 3 in Bike Ride tutorial where you are asked to enter following url, last parameter is optional so removing it makes it work:
http://<yourdomains>/view/content/<ContentId>/<language>/full/true/<LocationId>
Culprit is the following code which is wrongly using struct check:
if (isset($parameters['contentId']) && $location->contentId !== $parameters['contentId']) {