Download & Extend

Access control on taxonomy causes EntityMalformedException

Project:Global Redirect
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

I have a site that has Domain Access setup and has custom access control on vocabularies so that terms in a certain vocabulary can only appear on certain domains.

If you go to a term page where the term belongs to the vocabulary thats not set for the domain you're using, you get an exception: EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids().

This is caused by the globaldirect_init assuming taxonomy_term_load will return a valid term object.

Comments

#1

Status:active» needs review

Attaching patch...

AttachmentSizeStatusTest resultOperations
entity_exception-1417498-1.patch764 bytesTest request sentNoneView details
nobody click here