I have a field collection type field name 'location' in a content type 'page'.
In location field collection field thre are two fields Country and State.
State depend on country field. DDF module will work fine when Field collection have one value. But fails when it have more than one value.
That means it did not work for unlimited value for field collection type field.

Comments

sirrupesh’s picture

Issue summary: View changes
cherfakhaled’s picture

I confirm this bug, it happens even with Multifield.
Any solution for that?

pippopeppe’s picture

I confirm his bug also with inline entiy form module.

Patch here https://www.drupal.org/node/2090493 committed in dev.

But I checked the code and I noticed that something is missing in the dev version.

maximpodorov’s picture

Yes, there can be a problem with such fields.

rajneeshb’s picture

I am also facing issue with field collection. Anyone have any solution. I have three fields in field collection city, star rating and hotel. On choosing city and star rating hotels field will display. Its working fine for single item but not working with unlimited values.

maximpodorov’s picture

Priority: Normal » Major

Yes, there must be a way to address a particular item of multivalued field. Patches are welcomed.

anas_maw’s picture

Any update on this issue, i have the same problem.

joaoverissimo’s picture

I'm using the module too with field collections. If you have the links to the field collections on display, you can add one by one the new values and ddf works. Although this is not compatible with the workflow I'm trying to implement.

I've seen that validation works, only ajax is not doing it's job. Maxim, can you point where the action takes place so I can try to have a look?

Thanks

anas_maw’s picture

I've created a patch that adds support for multiple value for field collection type.

anas_maw’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 9: ddf_field_collection_support-2204919-9.patch, failed testing.

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 9: ddf_field_collection_support-2204919-9.patch, failed testing.

maximpodorov’s picture

Version: 7.x-1.6 » 7.x-1.x-dev

Please create patches for the current dev version.

anas_maw’s picture

abu-zakham’s picture

Status: Needs work » Needs review
joaoverissimo’s picture

I applied the patch and it seems that it is working as expected. Thanks!

anas_maw’s picture

Category: Bug report » Feature request
anas_maw’s picture

Category: Feature request » Support request
abu-zakham’s picture

Status: Needs review » Reviewed & tested by the community
alex.bukach’s picture

Status: Reviewed & tested by the community » Needs work

This patch breaks the things when there is a dependency chain: field B depends on field A, field C depends on field B.

anas_maw’s picture

Yes i notice that, i will try to fix this when i have time.

maximpodorov’s picture

Please try the current dev version. I hope this problem is fixed now.

gerson.analista’s picture

The problem is not fixed in current dev version, after apply the patch #15 it seems to have worked.

nwom’s picture

Category: Support request » Bug report
nwom’s picture

StatusFileSize
new3.88 KB

The patch no longer applied on the current dev. Here is a re-roll

nwom’s picture

StatusFileSize
new3.89 KB

-

nwom’s picture

StatusFileSize
new3.89 KB

-

nwom’s picture

StatusFileSize
new3.9 KB

Found yet another bug with my re-roll. Please see the remaining issue at #21.