If you have a profile2 that contains a field collection, the first time you view the profile2 page, you will see an "add" link that takes you to a broken page.

The add link URL should be /field-collection/field-collection/name/add/profile2/ENTITY-ID

But since the profile has not yet been saved, there is no entity ID.

My apologies if this should be on the Field Collection page.

Comments

ElRapazGrande’s picture

Same issue

lamp5’s picture

Issue summary: View changes

Confirm, the same problem.

fawad ali’s picture

Facing the same issue.

rickj’s picture

Status: Active » Postponed (maintainer needs more info)

At the risk of passing the buck, I suggest this would be best raised as an issue with Field Collection.

I've never personally used Field Collection, and I see that it's still only a beta release. Those familiar with the module would be best placed to diagnose the problem. If it turns out that Profile2 is doing something non-standard that causes this issue, by all means come back here with details.

Thanks.

avpaderno’s picture

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