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).

Comments

arseniou’s picture

Any solutions yet? I have exactly the same issue.

chi’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new707 bytes

Seems to be easily fixed

andrewmacpherson’s picture

Status: Needs review » Reviewed & tested by the community

Patch works, ready to be commited, simple change.

sillygwailo’s picture

Issue summary: View changes
StatusFileSize
new1.35 KB

Building 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.

sillygwailo’s picture

Title: Autorized User Cannot see Taxonomy RSS - trying to get property of non-object » Authorized User Cannot see Taxonomy RSS - trying to get property of non-object
Status: Reviewed & tested by the community » Needs review

  • sillygwailo committed 4051e4c on 7.x-1.x
    Issue #1375008 by sillygwailo: Fixed taxonomy RSS feeds permissions.
    
  • sillygwailo committed dbc616e on 7.x-1.x
    Issue #1375008 by Chi: Fixed taxonomy RSS feeds.
    
sillygwailo’s picture

Status: Needs review » Fixed

Committed both Chi's and my patch to the dev branch.

Status: Fixed » Closed (fixed)

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