I've created custom formatter for node_reference fields and after that got next errors on page with the list of all biblio nodes:
Notice: Undefined index: node in node_reference_field_formatter_view() (line 428 of /home/olya/www/public-repository/drupal/sites/all/modules/references/node_reference/node_reference.module).
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7735 of /home/olya/www/public-repository/drupal/includes/common.inc).
The problem was solved by changing field_attach_view function to field_view_field in biblio_theme.inc file (see attached)
Comment | File | Size | Author |
---|---|---|---|
#3 | biblio-field-view-field-2546770.patch | 839 bytes | Olga Rybak |
Comments
Comment #2
Olga Rybak CreditAttribution: Olga Rybak commentedComment #3
Olga Rybak CreditAttribution: Olga Rybak commentedComment #4
rjerome CreditAttribution: rjerome commentedGiven that the argument lists for those two functions are different (specifically the third argument), I don't think that really solves the problem, only hides it.