Using taxonomy from core 7.9, an admin user with permission to see taxonomy RSS receives a series of errors and the taxonomy RSS feed does not display:
Notice: Trying to get property of non-object in taxonomy_term_page() (line 18 of /[mysite]/modules/taxonomy/taxonomy.pages.inc).
Notice: Trying to get property of non-object in taxonomy_term_page() (line 22 of /[mysite]/modules/taxonomy/taxonomy.pages.inc).
Notice: Trying to get property of non-object in taxonomy_term_page() (line 34 of /[mysite]/modules/taxonomy/taxonomy.pages.inc).
Notice: Trying to get property of non-object in taxonomy_term_page() (line 34 of /[mysite]/modules/taxonomy/taxonomy.pages.inc).
Notice: Trying to get property of non-object in taxonomy_term_view() (line 730 of /[mysite]/modules/taxonomy/taxonomy.module).
EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7405 of /[mysite]/includes/common.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | fix-taxonomy-term-feed-permissions-1375008.patch | 1.35 KB | sillygwailo |
| #2 | quickfix-1375008-0.patch | 707 bytes | chi |
Comments
Comment #1
arseniou commentedAny solutions yet? I have exactly the same issue.
Comment #2
chi commentedSeems to be easily fixed
Comment #3
andrewmacpherson commentedPatch works, ready to be commited, simple change.
Comment #4
sillygwailoBuilding on this patch, this should fix taxonomy feed permissions. That is, with just the original patch, people without the taxonomy feed permission can see the feed. With the patch attached, it simplifies the logic for the taxonomy feeds, since the Taxonomy module has different callbacks for the page and feed.
Comment #5
sillygwailoComment #7
sillygwailoCommitted both Chi's and my patch to the dev branch.