Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I am using
cck-6.x-3.x-dev and date 6.x-2.x-dev to create new content type for my project.
However, I am facing issue with setting the granularity:-
1) If I select granularity other then Year i get error saying "Granularity must include a year."
2) If I select granularity as Year and Month I get error saying
"Granularity field has to have maximum 1 values."
Hence I am forced to set the granularity to "Year": this in turn sets the format as Year and only value that i get is year
Comment | File | Size | Author |
---|---|---|---|
Date-error.jpg | 42.92 KB | sabikhi |
Comments
Comment #1
extrarumeno CreditAttribution: extrarumeno commentedSubscribe
Same error in 6.x-2.7 Date, version.
Any idea?
Thanks!
Comment #2
sabikhi CreditAttribution: sabikhi commentedyes I tried 6.x.2.7 first and then moved to the dev version; but the issue remain same; Can anyone help, I am struck, I need to use cck 3 as I need cck multigroups.
Please provide a work around, my complete portal is halted because of this :-(
Comment #3
extrarumeno CreditAttribution: extrarumeno commentedI also tried to create a custom date but does not work.
Please help.
Thanks
Comment #4
lantha CreditAttribution: lantha commentedI am trying to use the 7.x-2.0-alpha1 version of the Date module and I am facing the same problem. Is this an issue with the module or I am not using the module correctly. If I select month/day (single field except year) the error says "Granularity must include a year." and if I select year, month and day (multiple values) the error says "Granularity field has to have maximum 1 values."
Comment #5
KarenS CreditAttribution: KarenS commentedPlease do not combine problems from different versions in the same issue. This is an issue about the D6 version of the code.
Comment #6
Mariano CreditAttribution: Mariano commentedSubscribing, using CCK 2.9
Comment #7
Mariano CreditAttribution: Mariano commentedNevermind... in case it helps, my problem was the Clientside validation module, triggering the error before the configuration would even be saved. So if any of you have that module enabled, disable it and try it again, that may be the problem.
Comment #8
tomdavidson CreditAttribution: tomdavidson commented@Mariano thanks for updating the thread. Disabling Client Side Validation while editing the content type worked for me as well.
Comment #9
attiks CreditAttribution: attiks commentedsubscribing and confirming it's a problem with clientside validation
Comment #10
attiks CreditAttribution: attiks commentedI can not reproduce this on admin/content/node-type/page/fields/field_mydate using:
Drupal 6.20
CCK 2.9
clientside_validation 1.x
Comment #11
tomdavidson CreditAttribution: tomdavidson commentedHello, to avoid double post and because the issues seem related, I will post over at #1153158: Does not recognize multiple value selections
Comment #12
attiks CreditAttribution: attiks commentedComment #13
lexa.mihu CreditAttribution: lexa.mihu commentedit's still a problem...and i don't use Clientside Validation
Comment #14
attiks CreditAttribution: attiks commented@akyla if you still have this problem please create a new issue, if you're not using clientside_validation create it at http://drupal.org/project/cck