Visiting any page that renders a View whose base table is not an entity base table, for example the database log report at admin/reports/dblog (the watchdog table), throws a WSOD:

Error: Call to a member function getBaseTable() on false in ViewsTenantScope::orchestraBaseTable().

ViewExecutable::getBaseEntityType() returns FALSE (not NULL) when the view's base table is not an entity base table, but the guard only checks for NULL, so getBaseTable() is then called on FALSE.

Fix: guard on the interface instead, if (!$entity_type instanceof EntityTypeInterface), which covers both FALSE and NULL.

Issue fork orchestra-3607559

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

  • mably committed eac137f1 on 1.x
    fix: #3607559 orchestra_views: WSOD on views whose base table is not an...
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.