Closed (outdated)
Project:
Comment Alter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2013 at 14:33 UTC
Updated:
20 Jul 2025 at 16:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
paul rowell commentedAttached patch to exclude field collections, in the same way as image and file fields currently are
Comment #2
paul rowell commentedSorry, same patch, corrected name. Ideally it'd be great to get field collections working, I'll try and dig into it tomorrow and see if it can work (time pending).
Comment #3
dsnopekThanks for the patch! I don't think anyone had previously tried field_collection. :-)
@Boobaa: Do you think we should have a hook which collects names of field types to exclude? It's probably not sustainable to have to patch comment_alter for every field that later comes into existance which is incompatible with comment_alter...
Comment #4
boobaa@dsnopek: A hook for adding field types for exclusion seems a good idea; however, I'm not sure if it's comment_alter that doesn't support file/image/field_collection fields. (You're right: I, for one, haven't tested comment_alter with field_collections.)
@Paul Rowell: Could you please check if field_collection is properly supported by diff.module? Eg. enable revisions for a node type with a field_collection, change something in that field_collection in a node edit to have two different revisions, then have diff.module compare it.
Additionally, your patch seems to add a field type for the exclusion list, but it fails to add it to the comment above, so marking this as needs work (regardless whether comment_alter or diff is the culprit).
Comment #5
paul rowell commentedYou're right, sorry about tha (this is what I get for trying to squeeze it in between other work). I'll investigate the diff module and field collection on Tues and report back.
Comment #6
paul rowell commentedHey guys,
You were right, FC doesn't appear to be supported by the Diff module. There's an issue for it in the Diff queue: http://drupal.org/node/1897196
Attached patch with comment altered
Comment #7
boobaaCommitted to git (with small modifications), thanks.
Comment #9
boobaaLooks like field_collection got diff support lately, so let's add it to comment_alter as well.
Comment #10
boobaaRemoved the exclusion of field_collection fields temporarily, enabled commenting a field_collection field but couldn't even add a field_collection entry via the comment form. My gut says the reason is most likely the same as in #2257845: Entity reference widget displayed differently in comment form.
Comment #11
bluegeek9 commentedDrupal 7 is End of Life. We recommend upgrading to a supported version of Drupal.