File attachments screw up node editing

Pancho - September 10, 2008 - 23:10
Project:Vertical Tabs
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

If Vertical Tabs is installed, attaching a file (via the core Upload module) to a node screws up the node edit form.
Not only the fieldgroups aren't rendered as Vertical Tabs, they are not shown at all (except for the troublemaker "File attachments"!). Plus: editing and saving now empties all affected fields including "author", "URL alias" and all publishing options, so the node gets unpublished.
For some strange reason this happens 10 times, and is consistently reproducible (upload file => problem, delete file => okay again,...) and then suddenly it works correctly several times. Can anyone else reproduce this bug?

#1

quicksketch - October 13, 2008 - 06:24

I suspect this is the same problem as #297507: validation error causes vertical tabs to disappear, where Vertical Tabs was using #after_build to add the JavaScript to the page. Since #after_build functions are not called when validation fails or when rebuilding a cached form, I suspect this was the problem. Vertical Tabs now used #theme, which consistently rendered.

#2

quicksketch - December 16, 2008 - 06:55
Assigned to:Pancho» Anonymous
Status:active» fixed

Moving to fixed, as I believe this problem was fixed in #297507: validation error causes vertical tabs to disappear, please reopen if it still has the problem.

#3

System Message - December 30, 2008 - 07:00
Status:fixed» closed

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

#4

orouk - June 9, 2009 - 14:28

This bug is yet present in 6.x-1.0-beta3 version. Upload file corrupts tabs display and fields values ("author" to anomymous, etc... node gets unpublished).

 
 

Drupal is a registered trademark of Dries Buytaert.