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.
I have a date in main content and a date field in field collection
The date in field collection doesn't appear in add content
Comments
Comment #1
fagoI don't understand what's the problem.
Comment #2
RobW CreditAttribution: RobW commentedI haven't had problems with date fields in collections. Have you set the field collection to use the embedded widget? If not, the field collection's fields will not appear on the add content or edit content form.
Comment #3
30equals CreditAttribution: 30equals commentedHaving a problem as well with a date select field in my embedded field collection (mind you, it's a field collection nested in another field collection).
When i create a node, and select a date, and save my node, the date field doesn't get saved, at all..
Comment #4
arbel CreditAttribution: arbel commentedI seem to have the same problem.
date fields in the field collection arn't saved.
Idan
Comment #5
30equals CreditAttribution: 30equals commentedSetting this as active to get some focus on this again. I'm not sure what more info you need, please let me know so this is can get looked at ;)
Comment #6
fagoI've used date module myself in field-collection, everything working fine. So if there is still a problem somewhere, we need to nail it down on module versions or any other preconditions.
Comment #7
Niremizov CreditAttribution: Niremizov commentedActually, there really is some strange behavior of date fields inside field collection. However, i don't know if it is Date's module issue or Field Collection modules. The problem is described here, any ideas?
Comment #8
cristian100Subscribing.
Comment #9
mchaplin CreditAttribution: mchaplin commentedI had an issue where a date field (within a collection) failed to appear in the node add form.
I solved it by setting Custom permissions.
I found that the 3 'own value' permssions for authenticated user were insufficient.
I also had to set 'Edit anyone's value' and 'View anyone's value' which I found counter-intuitive.
Comment #10
JesseDP CreditAttribution: JesseDP commentedThis is still an issue.
I'm using date-7.x-2.6+26-dev and field_collection-7.x-1.0-beta5+8-dev.
The date field is set to 'date popup', one value allowed.
The field_collection is set to unlimited values.
When I add a few field_collections and hit save, the data disappears.
Comment #11
jmuzz CreditAttribution: jmuzz commentedI can also confirm this issue. I posted some info with a possible fix in #1580032: Date values are not being saved when field is used in a nested field collection
Comment #12
jmuzz CreditAttribution: jmuzz commentedI believe the patch I posted in #1580032: Date values are not being saved when field is used in a nested field collection should solve this. Can anybody confirm? I think this can be closed as a duplicate.
Comment #13
jmuzz CreditAttribution: jmuzz commented