I have a view with a nid as an argument that is set to validate to only accept certain node types. On a page display I have a menu tab setup with the path node/%/my_view. The tab always displays even though clicking on it will result in a page not found as per the argument validation.

CommentFileSizeAuthor
#1 1110212-menu_argument-validation.patch1.11 KBdawehner

Comments

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new1.11 KB

Here is a patch for it.

boombatower’s picture

Status: Needs review » Reviewed & tested by the community

Yep, this fixes the problem. Thanks!

dawehner’s picture

Status: Reviewed & tested by the community » Fixed

Yeah!

Commited to 7.x-3.x

Status: Fixed » Closed (fixed)

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