Vertical Tabs breaks some content types

Dave Kinchlea - November 11, 2009 - 15:00
Project:Vertical Tabs
Version:6.x-1.0-beta5
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

I've been using Vertical Tabs for a while, no issues with it and a great tool. i tried to update from beta4 to beta5 and some (all? not sure really) of my content types that include CCK fields seem to trash the JS such that not only do I not get the vertical tabs but I also lose WYSIWYG editing (and I suspect any other JS-related functionality). No dblog errors, no apache errors, no apparent browser errors (tried both firefox and seamonkey) More standard content types not using CCK fields appear to work perfectly. I haven't even attempted to narrow down which CCK fields cause the problem (I have a lot of them).

Downgrading to beta4 fixed the problem immediately (I didn't even attempt to undo the upgrade queries). Happy to help troubleshoot this issue but would love some direction if possible ... the obvious one-type at a time approach (unless I got lucky) would take a very long time.

#1

Dave Reid - November 11, 2009 - 15:13
Status:active» postponed (maintainer needs more info)

1. What CCK fields are you using?
2. Can you check your site's JavaScript console for error messages?

This is probably the regression in #444378: Fields re-ordered by CCK do not have the right weight in Vertical Tabs or #421318: WYSIWYG Editor disappears on fields within Vertical Tabs.

#2

Dave Kinchlea - November 11, 2009 - 15:55

The least complex one has a few text fields configured in various ways (single and multi-value), a phone field and a few "standard groups". This doesn't provide the vertical tabs but I DO have a TinyMCE editor in view. It is gone from one that uses multi-select texts, autocomplete fields, data popups and more.

#3

artscoop - November 21, 2009 - 06:41

Hi Dave,
Well, I have almost the same issue.

It seems that Vertical Tabs breaks Javascript, only when submitting a new node.
It works well on the content types setup.

My installation :
- Drupal 6.14, Javascript aggregation disabled, Administration menu, JQuery update, Wysiwyg, CCK

Here are the cases I tested :

- Vertical Tabs Disabled : everything works fine
- Vertical Tabs enabled, configure content types : Administration menu is displayed, Vertical tabs ok, Wysiwyg ok.
- Vertical Tabs enabled, add new content, CCK in the content type : No administration menu,

Edit : There is a JS error in Vertical tabs, in vertical_tabs.js, lines 73 and 76. This is what breaks the javascript. I don't know what to do however.

#4

bstoppel - November 24, 2009 - 16:28

I'm seeing this too on all content types. Vertical Tabs does kick in when I assign the content to a book. I don't actually update the data, just select a book.

#6

Dave Reid - November 27, 2009 - 15:54

Please try using the latest code (6.x-1.x-dev).

 
 

Drupal is a registered trademark of Dries Buytaert.