Hi!

With new date module 2.1 I found the problem - I can't save exist node with CCK date

The date fields "From:" are shown in red (although they are properly filled, not changed) and this error message is shown:
From date has errors. A value is required.
(I attached a screenshot)
(I delete old Date and calendar directories and copy the newest, and I clear views cache. It has no influence for this bug.)

Please let me know if I can help you with this bug.
Thanks
Igorik
http://www.somvprahe.sk

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

igorik’s picture

FYI: the bug can be in some old dev version already, not only in this 2.1.
I use dev version from 07/23 and this version works fine.
It is: //$Id: CHANGELOG.txt,v 1.1.6.82 2008/07/23 21:34:51 karens Exp $

KarenS’s picture

Status: Active » Postponed (maintainer needs more info)

I can't replicate your problem. Try a couple things:

1) Edit the field in question and make sure all the settings are still correct. Save the field settings, even if you don't make any changes.

2) See if you are now able to edit your node.

Also, make sure you are using the latest version of CCK -- there's a new release.

If you still have trouble after that, I need to see an export of your field. Turn on Content Copy, go to admin/content/types and choose to 'Export' the content type and fields that are not working and paste it here.

kittysunshine’s picture

FileSize
1001 bytes
2.21 KB

I downloaded the latest version this morning and I'm having the same problem. As you suggested, I edited the field, but it didn't help. I also installed the latest version of CCK and I continue to have the problem.

I've attached an export of my field.

I also had some (related?) user warnings when I logged out, which I've also attached.

Thanks for your help!!

KarenS’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks for the export, that helped. Found the problem which was only happening when the field was required, which wasn't one of the things I set in my test. The validation for a required field was basically always returning an error if the field was required, which of course is not right :)

igorik’s picture

Yes, it works, I can confirm that now the exist node with date field can be saved already.

neuromusic’s picture

I am having the same problem. Where can I find the fixed version? or do I have to make this field not required?

Thanks!

KarenS’s picture

The fix is in the -dev version. I'll probably roll a new release today or tomorrow, if you want to wait for that.

neuromusic’s picture

gotcha. I'll wait for the release & just un-require it for now.

kittysunshine’s picture

Just installed 5.x-2.2 and we're back in business. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.