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
When visiting a view page with the path set to /teams/%team/articles, I get a WSOD.
Apigee Info
Using Apigee Edge/OPDK.
Steps to Reproduce
Steps to reproduce the behavior:
Add a multivalue entityreference field for team entities to the Article content type.
Add some Article nodes referencing some teams.
Add a view that lists Article nodes with a contextual filter on the just-created field.
Add a page display with the Path set to /teams/%team/articles, preferably with the Menu Type set to "Menu tab" with the "Menu link title" being "Articles" (for easier navigation).
Visit a team that is referenced from an Article node.
Click on its "Article" tab (created by the just-created view's display).
A Views page that lists all the Article nodes referencing the current team.
Screenshots
n/a
Notes
The apigee_edge_teams.module:203 reads:
if (!$team || $team->getStatus() !== TeamInterface::STATUS_INACTIVE) {
When the error occurs, parameter upcasting did not happen, thus $team is a string and not a Team object. The error is gone if this line is changed to:
if (!($team instanceof TeamInterface) || $team->getStatus() !== TeamInterface::STATUS_INACTIVE) {
Version Info
drupal/core 9.5.11 Drupal is an open source content management platform powering millions of websites and applications.
drupal/apigee_edge 2.1.0 Apigee Edge for Drupal.
The text was updated successfully, but these errors were encountered:
Description
When visiting a view page with the path set to
/teams/%team/articles
, I get a WSOD.Apigee Info
Using Apigee Edge/OPDK.
Steps to Reproduce
Steps to reproduce the behavior:
team
entities to the Article content type./teams/%team/articles
, preferably with the Menu Type set to "Menu tab" with the "Menu link title" being "Articles" (for easier navigation).Actual Behavior
WSOD, with this in the logs:
Expected Behavior
A Views page that lists all the Article nodes referencing the current team.
Screenshots
n/a
Notes
The apigee_edge_teams.module:203 reads:
When the error occurs, parameter upcasting did not happen, thus
$team
is a string and not a Team object. The error is gone if this line is changed to:Version Info
The text was updated successfully, but these errors were encountered: