Closed (duplicate)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.0-beta
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2008 at 05:48 UTC
Updated:
18 Feb 2012 at 03:05 UTC
Comments
Comment #1
danielb commentedOh ok, this appears to be by design, so I'm changing this to a support request.
I've observed this behaviour:
When you first create a node, 2 fields show up by default
When you go back in to edit a node, 1 extra field shows up.
Every time you hit preview it appends an extra 2 fields
I would really like to disable these features with another module, or have them be configuration settings.
Could anyone point me to where in the content module these additions are made, and any suggestions as to what strategy I could use?
Comment #2
brmassa commentedGuys,
i confirm the "bug".
Its really a problem when you create a new widget type that manage its "#required" attribute itself, because you might add a new "extra" required fields. I have this situation on Addresses module, which creates, in fact, several form fields that have diferente "#required" values.
It should have both dev and enduser configuration for this feature.
regards,
massa
Comment #3
brmassa commentedand it might be considered a bug too
Comment #4
apshoemaker commentedI know this is rather old but, since it is still open, I wanted to add my notes.
I had this same issue and then found http://drupal.org/node/798932. It seems the two are related. CKEditor was placing a
tag in empty fields after clicking preview which was causing CCK to add more fields (as it should). Please note the patch in that thread that fixes the issue. It seems that this will be fixed in a later version of CKEditor and cannot be addressed within the integration module.
I am moving the state to "won't fix".
Paul
Comment #5
ergophobe commentedMany duplicates of this issue and there is an ongoing main thread, so linking to thread and changing to duplicate
Main discussion is here: #320313: CCK multiple values: two empty fields showing up - make it one or none?