I think there are typo in formatter_view
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | field_is_not_showing_up-2105435-10.patch | 5.66 KB | WorldFallz |
| #8 | field_is_not_showing_up-2105435-8.patch | 5.66 KB | WorldFallz |
| #7 | field_is_not_showing_up-2105435-7.patch | 5.67 KB | WorldFallz |
| #2 | entityreference_count-n2105435-2.patch | 1.43 KB | damienmckenna |
Comments
Comment #1
tien.xuan.vo commentedQuick fix
Comment #2
damienmckennaThe problem is that hook_field_info defines 'default_formatter' as 'entityreference_count_formatter_default', which doesn't exist. However, just renaming both formatters will cause problems for anyone currently using the module, so I believe this approach would work better.
Also, please don't forget to change the status to "needs review" when you upload a patch. Thanks!
Comment #3
damienmckennaComment #4
WorldFallz commentedThere should be a way to handle this with an update function. Having that bc case there feels hacky to me. I'd like to see what I can dig up before settling on this option.
Comment #5
WorldFallz commentedI'm thinking something like this in the .install file should do it:
What's missing is a way to then save that change.
Comment #6
WorldFallz commentedOk, this should take care of actually saving the change:
Patch to follow when I get a chance.
Comment #7
WorldFallz commentedAnd, patch attached. This takes care of all the cases from the original patch, as well as the new formatter defined in #2572811: Provide options for link and label in default field formatter.
Comment #8
WorldFallz commentedNow with less unnecessary whitespace, lol.
Comment #9
WorldFallz commentedComment #10
WorldFallz commentedAnd rerolled due to a number of recent commits.
Comment #12
WorldFallz commentedTested the update a bunch of times and all seems good. Thanks everyone.