Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2011 at 07:59 UTC
Updated:
14 Sep 2011 at 20:21 UTC
The taxonomy term argument validator using 'Term IDs separated by , or +' passes for empty arguments.
For example, if I have a block view display with the 'Taxonomy: Term ID' argument with:
Action to take if argument is not present: Provide default argument
Default argument type: Any option that provides an argument from the url, for example Node ID from URL
Validator: Taxonomy term
Argument type: Term IDs separated by , or +
then the block will display on pages where there is no term in the URL.
(attached is an export of a view that demonstrates this.)
The patch addresses this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| views-empty_arg_term_validation.patch | 774 bytes | agileware | |
| test_term_validator_view_export.txt | 2.95 KB | agileware |
Comments
Comment #1
dawehnerUpdate status. This issue has a patch.
Comment #2
dawehnerThis looks fine.
Comment #3
dawehnerCommited to all branches. Thanks for the patch!