I'm on date 6.x-2.0-rc4 and calendar 6.x-2.0-rc4. I have a content type that has a date field originally set to 'select list' widget type. I changed this to 'text field with date popup'.

I go to add my calendar event, and I select the date from the popup. I submit my event. But after I submit, the date is gone. I check by editing the node, and the date fields are blank again.

This appears to only be an issue with the popup, as setting my content type back to select list has it working fine.

Comments

karens’s picture

Status: Active » Fixed

I can't replicate this problem in the latest -dev code, and there have been lots up updates since rc-4, so assuming fixed.

emilyf’s picture

well, it's still doing it for the content type that was originally set to select list, but with new content types or new date fields it's working fine. i'm not sure if this content type is originally from a 5.x (or jeez, maybe even 4.7) install, so maybe there's something funky going on. but in any case, i didn't need that content type so i just started a new one. this is working fine.

Status: Fixed » Closed (fixed)

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

pounard’s picture

Status: Closed (fixed) » Active

Ok, sorry to reactivate this bug, but I found the same one, on -rc6 version.

It happens when using a date_popup form element within the hook_form() of a node module. The date value is not written into the $node object, neither in the form values.

EDIT: bad english grammar.

pounard’s picture

Status: Active » Closed (fixed)

Ok, I found my bug, the 'date' name for the node_form is already used in publishing options, hehe :)
Sorry for this, I re-close the bug! :)