Needs review
Project:
Context Plugin Extras
Version:
6.x-3.x-dev
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2012 at 10:25 UTC
Updated:
14 Dec 2012 at 22:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
drupalreggie commentedHi, I'm still struggling with this - can any lend a hand?
Comment #2
drupalreggie commentedStill no joy with solving this...
Comment #3
drupalreggie commentedAny help available?
Comment #4
dooug commentedI attached a screenshot of how I assume this should work according to the help text.

However, this condition doesn't seem to be working for me. Debugging now.
Comment #5
dooug commentedError: I found that my condition of "Node Author" set to "" was always passing. When I enabled node comments on that node type.
Solution: Upon inspection, I realized that with node comments enabled, the hook_form_alter code for that condition was being triggered on the Comment form and always returning true.
I attached a patch that removes the hook_form_alter from the context_condition_author because I can't figure out a reason for it to be there and the condition works without it. The git commit log provides no clues.
(sorry to hijack the issue, but hopefully this solves it!)