Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2.JPG | 42.4 KB | mohsenzahra |
Comment | File | Size | Author |
---|---|---|---|
#3 | 2.JPG | 42.4 KB | mohsenzahra |
Comments
Comment #1
Sknight17 CreditAttribution: Sknight17 commentedAh, no bug to fix. You have to check to see if the entity has the field. After it checks, it then becomes available for use. Answer found at http://groups.drupal.org/node/177919
I should have thought of that :P
Comment #2
mjcarter CreditAttribution: mjcarter commentedI'm having this issue with Condition Set (OR). Adding a condition "entity has field" does nothing (and would break the logic of the condition set anyway). With Condition Set (AND) using "entity has field" exposes it, but not with (OR).
Comment #3
mohsenzahra CreditAttribution: mohsenzahra commentedI myself have the same issue.
Comment #4
TR CreditAttribution: TR commented#2 The AND, OR, and NOT conditions are sufficient to create any logic expression, however complicated. Without knowing exactly what you want to do, I can't give an example that would work in your case, but you could certainly move the "Entity has field" out of the OR condition so that the field is available inside the OR. Or you can change (A OR B) into NOT(NOT A AND NOT B) since that is equivalent. I don't see any indication that something is wrong here.
#3 doesn't give enough information - I only see "Site" in the data selector, but whether that's correct or not I can't tell because I know nothing about the event so I don't know what is supposed to be in the context.
Restoring this to "Work's as designed" as set by the original poster in #1.