Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
taxonomy.module
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
17 Dec 2005 at 11:14 UTC
Updated:
5 Oct 2006 at 15:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
moshe weitzman commentedindeed ... IMO, we should only use fieldset when there are 2 or more fields to be grouped
Comment #2
buddaAgreed, it makes simple forms look more complicated than they should be.
Attached patch checks if there are multiple vocabularies in the form before enclosing them in a fieldset.
Comment #3
drummComment #4
dries commentedLooks good to me. Make isset() should be is_array()?
Comment #5
buddaisset() vs. is_array() is inherited from the original code. But is_array() makes more sense, patch attached to rectify this.
Comment #6
nickl commentedThe attached patch assumes to fix the problem:
Comment #7
nickl commentedLets try this again:
The attached patch assumes to fix the problem:
...but instead of avoiding the fieldset it succeeds in removing the whole forums select box from the form.
Attached is a new patch that checks if the form has more than one item and if not will display the 1 item without a fieldset.
Comment #8
nickl commentedHere is the before and after screenshots.
Comment #9
flk commentedcorrected syntax @ line 24.
works like a charm in resolving the issue.
Comment #10
drummpatching file modules/taxonomy/taxonomy.module
Hunk #1 FAILED at 668.
1 out of 1 hunk FAILED -- saving rejects to file modules/taxonomy/taxonomy.module.rej
Comment #11
nickl commentedRerolled to head. Marked RTBC again as nothing has changed.
Comment #12
drummCommitted to HEAD.
Comment #13
drummThis kinda broke free tags. The #tree is important. Here is a fix which modifies the array a bit less.
Comment #14
beginner commentedpatch #13 also fixes: http://drupal.org/node/83946
Comment #15
AjK commentedPathch #13 :-
Looks good, see also http://drupal.org/node/84108
Comment #16
nickl commentedHopefully this fixes the blockquote issue too.
Patched to fresh head. All seems to be working.
Comment #17
nickl commentedHopefully this fixes the blockquote issue.
Comment #18
nickl commentedPatch at #13 RTBC
Comment #19
drewish commented+1 on the patch in comment #13
Comment #20
AjK commentedThis patch really needs to get committed
Another duplicate http://drupal.org/node/84987
regards,
--AjK
Comment #21
drummCommitted to HEAD.
Comment #22
(not verified) commented