Download & Extend

Notices thrown when using visibility rules on hidden fields

Project:Chaos tool suite (ctools)
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

These notices are thrown when I have visibility rules on a panel. The panels are being handled by display suite (screenshot)

Notice: Undefined index: module in ctools_entity_field_value_ctools_access_summary() (line 213 of C:\xampp\htdocs\playground5\sites\all\modules\ctools\plugins\access\entity_field_value.inc).
Notice: Undefined variable: elements in ctools_entity_field_value_ctools_access_summary() (line 220 of C:\xampp\htdocs\playground5\sites\all\modules\ctools\plugins\access\entity_field_value.inc).

Comments

#1

Title:Notices thrown when visibility rule is added» Notices thrown when visibility rules are present

Clarifying the title

#2

I have the same problem, but also when I set a selection rules like:

Title: Node static_page: Header Style Field
Description: tid equals

"Header Style Field" is a "term reference" with "Check boxes/radio buttons" widget, and is hidden on "Static Page" manage display

I don't use display suite, but I have installed "Taxonomy translation" (i18n_taxonomy)

#3

I have the same issue, using panels and a views content pane that outputs display suite controlled nodes.

ctools 1.0

Notice: Undefined index: module in ctools_entity_field_value_ctools_access_summary() (line 213 of /Users/boris/Sites/pn/uts/app/sites/all/modules/contrib/ctools/plugins/access/entity_field_value.inc).

Notice: Undefined variable: elements in ctools_entity_field_value_ctools_access_summary() (line 220 of /Users/boris/Sites/pn/uts/app/sites/all/modules/contrib/ctools/plugins/access/entity_field_value.inc).

#4

This seems to occur when the field you want to use in the visibility rule is configured to be hidden in the "Manage display" tab of the content type and thus does not have a real field formatter associated with it.

#5

Title:Notices thrown when visibility rules are present» Notices thrown when using visibility rules on hidden fields

#6

Status:active» closed (duplicate)

Duplicate of #1630820: entity_field_value is completely broken