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.
Comment | File | Size | Author |
---|---|---|---|
#5 | Screen Shot 2013-09-14 at 6.35.55 PM.PNG | 82.49 KB | drupal_was_my_past |
Comments
Comment #0.0
darrell_ulm CreditAttribution: darrell_ulm commentedadded example for documentation page (probably preview broken for other types)
Comment #1
mherchelverified.
Comment #2
jthorson CreditAttribution: jthorson commentedRelated to the following Drupal Core issues:
#1289336: Calling node_view for the same node with multiple view modes on the same page during node preview does not correctly attach fields (patch in #36 needs a reroll)
#2001308: Node preview removes file values from node edit form for non-displayed items (possible dupe, with alternative patch)
Comment #3
jthorson CreditAttribution: jthorson commentedConfirmed that the core patch at https://drupal.org/node/1289336#comment-7832299 resolves these notices.
Comment #4
jthorson CreditAttribution: jthorson commentedPostponing, with core fix pending #1289336: Calling node_view for the same node with multiple view modes on the same page during node preview does not correctly attach fields.
Comment #5
drupal_was_my_past CreditAttribution: drupal_was_my_past commentedIs this bug related? On editing an issue node to test uploading a new patch, I received this error:
Comment #6
jthorson CreditAttribution: jthorson commented#5 is discussed in #2096269: Notice: Undefined property: stdClass::$name in taxonomy_field_formatter_view() .
Comment #7
tvn CreditAttribution: tvn commentedCore patch committed, should get on git7site soon.
Comment #7.0
tvn CreditAttribution: tvn commentedadded quotes for second error message