ctools_field_invoke_field() needs a fairly minor update to handle items that are pretending to be entities but actually aren't. This is very useful from an administrative standpoint when we'd like to render a field all by itself without having to have a real entity handy.

CommentFileSizeAuthor
fields-inc.patch1.68 KBEclipseGc
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merlinofchaos’s picture

Status: Needs review » Reviewed & tested by the community
EclipseGc’s picture

Status: Reviewed & tested by the community » Fixed

Committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

merlinofchaos’s picture

Status: Closed (fixed) » Active

I had to revert this patch. It made it so that ctools_field_invoke was not working on new entity objects the way _field_invoke does.

EclipseGc’s picture

Status: Active » Closed (cannot reproduce)

Since I could reproduce the errors I originally had for filing this patch after it got reverted, I'm closing it.