When I add an image field to my taxonomy term, the json/xml/... response returns an empty array.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

falc0 created an issue. See original summary.

joejoejoew’s picture

I see this, too. For a single valued image field, if it is empty, an empty array is returned instead of null. Here's a patch.

joejoejoew’s picture

#2 wasn't quite right, here's another

joejoejoew’s picture

oops, here's a correctly formatted patch

lokapujya’s picture

Curious, is this problem with images only on taxonomy terms? If so, how is that?