Problem

The view will generate all results (ignoring the contextual filter).

View settings

  1. Create a View of Nodes which creates a block display.
  2. Add the Argument: "Node: NID", configured as follows:
    • Action to take if argument is not present: "Provide default argument"
    • Default argument type: "Node ID from URL"
    • Validator options:
      • Validator: Node
      • Types (choose one or more, shouldn't matter here)
      • Leave "Validate user has access to the node" unchecked
      • Access operation to check: View
      • Argument type: Node ID
      • Action to take if argument does not validate: [Display Empty Text | Hide view / Page not found (404)]

Workaround

The contextual filter appears to ignore the specific content-type setting, UNLESS I define the "Validate user has access to the node" setting.

Possible user error

If the "Action to take if argument does not validate" is set to "Display Empty Text", and no "empty text" is defined, this might be the cause.

Comments

MustangGB’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)