The JavaScript expects the taxonomyRelationFieldNames returned data member to be an array and when there are no taxonomy fields, is it null and causes a JavaScript error. The patch initialises the variable to an empty array and not null.

Comments

somersoft created an issue. See original summary.

somersoft’s picture

Title: Preventing JavaScript Errors when there no taxonomy fields. » Preventing JavaScript Errors when there are no taxonomy fields.

jepster_’s picture

Status: Active » Fixed

Thanks for reporting! I have commited your patch. Will come into next release.

jepster_’s picture

Status: Fixed » Closed (fixed)