Closed (fixed)
Project:
Countries
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Jan 2012 at 21:34 UTC
Updated:
4 Jan 2014 at 01:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
webflo commentedCan't reproduce. Make sure you are using the latest dev version and please flush all caches. The entity controller has been changed recently.
Comment #2
langworthy commentedHere is a distribution that includes the latest dev of country.module and reproduces the problem.
Comment #3
webflo commentedThanks for this awesome bug report :). I look into it soon.
Comment #4
webflo commentedOk here is a patch. I removed the hook_field_load() and replaced it with hook_field_prepare_view(). They "why" is well documented in hook_field_load().
I think hook_field_prepare_view() is ok. Is there any objection?
Comment #5
langworthy commentedThe patch in #4 fixes the problem.
As far as I can tell (but I may be wrong) hook_field_prepare_view() doesn't cache the field so I think we can remove the comments.
Comment #6
webflo commentedYeah your are probably right. I committed the patch from #5. Thanks! Commit 8eafa77 on 7.x-2.x.