I am getting visibility warning in dashboard settings page.

Step 1: Go to config/system/draggable_dashboard/manage/{dashboard_id}
Step 2: Press "Place block"
Step 3: Select block

After creation I get this warning:
Warning: Invalid argument supplied for foreach() in Drupal\block\BlockForm->validateVisibility()

In my opinion we should use access instead of unset for visibility and theme. I added patch for this.

CommentFileSizeAuthor
visibility_warning_fixed.patch641 bytesarmandaslt
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

armandaslt created an issue. See original summary.

armandaslt’s picture

Issue summary: View changes
armandaslt’s picture

Title: Visibility warning ins dashboard settings page » Visibility warning in dashboard settings page

  • cmd87 committed c2c4dcb on 8.x-1.x authored by armandaslt
    Issue #3028304 by armandaslt: Visibility warning in dashboard settings...
cmd87’s picture

Thanks #2armandaslt! The patch applied.

cmd87’s picture

Status: Active » Fixed
cmd87’s picture

Status: Fixed » Closed (fixed)