I hope I have not overlooked some dependency, but in the latest 6.3-dev from CVS views_nid_type is used but has not been implemented yet. I have reverted the relevant update, but I guess I am missing something.

--- modules/node/views_plugin_argument_validate_node.inc  (revision 1150)
+++ modules/node/views_plugin_argument_validate_node.inc  (working copy)
@@ -93,7 +93,7 @@
       case 'nids':
         $nids = new stdClass();
         $nids->value = array($argument);
-        $nids = views_nid_type($argument, $nids);
+        $nids = views_break_phrase($argument, $nids);
         if ($nids->value == -1) {
           return FALSE;
         }
CommentFileSizeAuthor
#1 views-652684-broken_validator.patch632 bytesdawehner

Comments

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new632 bytes

This was the commit: http://drupal.org/cvs?commit=294140

Here is the exact patch

dagmar’s picture

Issue tags: +alpha-2 blocker
merlinofchaos’s picture

Status: Needs review » Fixed

Oh, that must be the result of a search and replace error. Committed.

Status: Fixed » Closed (fixed)

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

dawehner’s picture

Issue tags: -alpha-2 blocker

remove tag

johnv’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Closed (fixed) » Patch (to be ported)

I get this same error in D7; The change is not applied in the 7.x-dev branch.

The following error appears when you set Arguments//Validator options|Argument type to "nid's separated bij + or,":
Fatal error: Call to undefined function views_nid_type() in .../sites/all/modules/views/modules/node/views_plugin_argument_validate_node.inc on line 104

dawehner’s picture

Status: Patch (to be ported) » Fixed

Commited to 7.x.

Thanks for the report.

Status: Fixed » Closed (fixed)

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