visiting node admin screen invokes hook_form (and shouldn't)

greggles - September 14, 2009 - 19:07
Project:Project issue tracking
Version:6.x-1.x-dev
Component:Issues
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

If you visit http://example.com/admin/content/node-type/project-issue you get redirected to node/add/project-issue with a selector for the project. The attached patch "fixes" that problem but may not be the right way to fix it.

I couldn't reproduce this on drupal.org - not sure why.

AttachmentSize
project_issue_not_admin_form.patch690 bytes

#1

dww - September 14, 2009 - 19:22
Status:needs review» duplicate

The problem is your site has vertical tabs installed. :( See #503290: Vertical tabs fieldset configuration breaks horribly for multi-step node forms

I suppose something like this is an evil work-around that could potentially make vertical tabs not totally break the node type admin pages, but it still feels wrong. This really just seems like a bug in vertical tabs, and I'd rather not bloat project* to hack around it.

 
 

Drupal is a registered trademark of Dries Buytaert.