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

CommentFileSizeAuthor
Date-error.jpg42.92 KBsabikhi
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

extrarumeno’s picture

Subscribe

Same error in 6.x-2.7 Date, version.

Any idea?

Thanks!

sabikhi’s picture

yes 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 :-(

extrarumeno’s picture

I also tried to create a custom date but does not work.

Please help.

Thanks

lantha’s picture

Version: 6.x-2.x-dev » 7.x-2.0-alpha1

I 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."

KarenS’s picture

Version: 7.x-2.0-alpha1 » 6.x-2.x-dev

Please do not combine problems from different versions in the same issue. This is an issue about the D6 version of the code.

Mariano’s picture

Subscribing, using CCK 2.9

Mariano’s picture

Nevermind... 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.

tomdavidson’s picture

@Mariano thanks for updating the thread. Disabling Client Side Validation while editing the content type worked for me as well.

attiks’s picture

Project: Date » Clientside Validation
Version: 6.x-2.x-dev » 6.x-1.x-dev
Component: Date CCK Field » Code
Priority: Critical » Major

subscribing and confirming it's a problem with clientside validation

attiks’s picture

Status: Active » Postponed (maintainer needs more info)

I can not reproduce this on admin/content/node-type/page/fields/field_mydate using:
Drupal 6.20
CCK 2.9
clientside_validation 1.x

tomdavidson’s picture

Status: Postponed (maintainer needs more info) » Active

Hello, to avoid double post and because the issues seem related, I will post over at #1153158: Does not recognize multiple value selections

attiks’s picture

Status: Active » Closed (duplicate)
lexa.mihu’s picture

Status: Closed (duplicate) » Active

it's still a problem...and i don't use Clientside Validation

attiks’s picture

Status: Active » Closed (duplicate)

@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