Download & Extend

errors and not working selection rule when using negative check on a 'link'field

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

Issue Summary

Possible duplicate of #1630820: entity_field_value is completely broken but to avoid cluttering that issue I think it might be better to keep this specific error separate. I will post in that issue linking to this post.

I am using a field (called URL update) from the 'Link' module in a contentype called my_ct. I want to redirect to that link if 'URL-update' has a value.
So I add a selection rule -> Node my_ct: URL Update field
With settings: Node :being viewed , title and URL empty and a checked reverse(NOT) box.

Upon saving the selection rule I get the following messages:

Notice: Undefined offset: 0 in ctools_entity_field_value_ctools_access_summary() (line 232 of / >cut< /sites/all/modules/ctools 5/plugins/access/entity_field_value.inc).

Same for offset 1 and 2.

Upon visiting a page the selection rule does not fire and this message appears:

Notice: Undefined index: attributes in ctools_entity_field_value_ctools_access_check() (line 165 of / >cut< /sites/all/modules/ctools 5/plugins/access/entity_field_value.inc).

Will try out various patches from possibly related issues.

Comments

#1

Patch from #30 #1630820: entity_field_value is completely broken seems to fix problem somewhat. Errors are still there in de backend. But rule evaluation seems to be working now.

#2

Patch from #1780280: Notice on node view page variant combined with the one mentioned in #1 seems to fix all problems for me. No more notices and all tested selection rules work as expected.
Gonna test some more before closing this issue.

#3

Status:active» closed (duplicate)

I don't have any issues any more. Marking as duplicate of the other two issues mentioned above.

nobody click here