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.
Comments
Comment #2
rodrigoeg commentedThe classes of edit and delete links were missing the render() function. This patch creates this function for both classes.
Comment #3
trentl commentedconfirming that patch worked from #2.
Comment #4
LemonHardos commentedSame, patch resolved the issue, please validate & update dev release.
Comment #5
capysara commentedPatch in #2 worked for me!
Thanks!
Comment #6
alfthecat commentedPatch #2 worked brilliantly! Thanks!
Comment #7
guymandude commentedI just installed the 7.x-1.0-beta3+6-dev version and this issue is apparent. Will the above patch work for this version?
Comment #8
rodrigoeg commentedMoving 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
Comment #10
astonvictor commentedD7 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.