URL(s)

https://git7site.devdrupal.org/node/1372154/edit (as maintainer)
or a doc page
https://git7site.devdrupal.org/node/340271/edit
probably others

Problem

Error when editing and then previewing project/page edit.

Steps To Reproduce

1) goto:
a)
https://git7site.devdrupal.org/node/1372154/edit (as maintainer)

or a doc page for example

b )
https://git7site.devdrupal.org/node/340271/edit

2) then click preview

Annotated Screenshot(s)

Screen shows:

a)
Error message
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1596 of /var/www/git-dev.drupal.org/htdocs/modules/taxonomy/taxonomy.module).
EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7693 of /var/www/git-dev.drupal.org/htdocs/includes/common.inc).
The website encountered an unexpected error. Please try again later.

b)

Error message
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1596 of /var/www/git-dev.drupal.org/htdocs/modules/taxonomy/taxonomy.module).
EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7693 of /var/www/git-dev.drupal.org/htdocs/includes/common.inc).
The website encountered an unexpected error. Please try again later.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

darrell_ulm’s picture

Issue summary: View changes

added example for documentation page (probably preview broken for other types)

mherchel’s picture

Status: Active » Needs review

verified.

jthorson’s picture

jthorson’s picture

Confirmed that the core patch at https://drupal.org/node/1289336#comment-7832299 resolves these notices.

jthorson’s picture

drupal_was_my_past’s picture

Is this bug related? On editing an issue node to test uploading a new patch, I received this error:

Notice: Undefined property: stdClass::$name in taxonomy_field_formatter_view() (line 1610 of /var/www/git-dev.drupal.org/htdocs/modules/taxonomy/taxonomy.module).
Notice: Undefined property: stdClass::$name in taxonomy_field_formatter_view() (line 1610 of /var/www/git-dev.drupal.org/htdocs/modules/taxonomy/taxonomy.module).
jthorson’s picture

tvn’s picture

Status: Postponed » Fixed

Core patch committed, should get on git7site soon.

tvn’s picture

Issue summary: View changes

added quotes for second error message

Status: Fixed » Closed (fixed)

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