The taxonomy argument validator is acting odd.

I have two vocabularies: "Tags" and "Projects".
The view is designed to work with taxonomy of "Projects".

When passing a taxonomy term name of the "Project" vocabulary to the argument, it follows this pattern:

Nothing checked: works
Project checked: nothing is displayed
Tags checked: works (but shouldn't)
Both checked: works

Apparently the true/false logic is reversed when checking if a term is part of a vocabulary.

Comments

RoboPhred’s picture

Actually, the logic cant be just reversed, since ten checking both will make nothing be displayed...

I have looked over the taxonomy views code, and can't find anything wrong. This problem is beyond my php skills right now, although I will keep poking at it.

merlinofchaos’s picture

Status: Active » Fixed

I couldn't duplicate this. At best, I did see where it might be possible that if you have the same term in two vocabularies, it might find the term in the wrong vocabulary and allow it; but that is going to be problematic regardless. In any case, I changed how the query works and checked that in. Maybe this will help. I'm not sure.

RoboPhred’s picture

In debugging another oddness with the Term ID (with depth) field, I went through the database and did discover that it was converting to the wrong term of two vocabularies (forgot about my free-tagging blog vocabulary).
This was the same vocabulary and term I was using before, so that was probably it.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.