When using the 2015-Dec-10 dev version, the supplied view field_collection_view (display: default) does not render links or provide usable tokens. This is what I am seeing:

Id 	edit 	delete
40 	field-collection/field-subsections 	field-collection/field-subsections
41 	field-collection/field-subsections 	field-collection/field-subsections 

I ensured that field_collection_view was reverted from the module.

It is possible to reconstruct links similar to the beta3 version using tokens:
[field_path]/[item_id]/edit?destination=[host_entity_path]

But the provided fields do not work.

For now I am reverting to beta3 and will hide the edit/delete/add links with CSS.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Eric At NRD created an issue. See original summary.

rodrigoeg’s picture

Status: Active » Needs review
StatusFileSize
new2.66 KB

The classes of edit and delete links were missing the render() function. This patch creates this function for both classes.

trentl’s picture

confirming that patch worked from #2.

LemonHardos’s picture

Same, patch resolved the issue, please validate & update dev release.

capysara’s picture

Patch in #2 worked for me!

Thanks!

alfthecat’s picture

Patch #2 worked brilliantly! Thanks!

guymandude’s picture

I just installed the 7.x-1.0-beta3+6-dev version and this issue is apparent. Will the above patch work for this version?

rodrigoeg’s picture

Status: Needs review » Reviewed & tested by the community

Moving to RTBC as 4 people tested this patch.

@GuyManDude
I am not sure which exact version (7.x-1.0-beta3+6-dev ?) you are using, but I believe it is this one:
https://www.drupal.org/project/field_collection_views/releases/7.x-1.0-b...

The patch will only work on 7.x-1.x-dev, as there are several differences when comparing with 7.x-1.0-beta3:
https://git.drupalcode.org/project/field_collection_views/-/compare/7.x-...

Delete and edit links are rendered via these lines of code:
https://git.drupalcode.org/project/field_collection_views/-/blob/7.x-1.0...
https://git.drupalcode.org/project/field_collection_views/-/blob/7.x-1.0...
A different patch only for 7.x-1.0-beta3 would have to be created in case this issue is still happening

astonvictor’s picture

Status: Reviewed & tested by the community » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.