• Used INHERIT_COMBINE_BY_WEIGHT instead of INHERIT_BY_WEIGHT as defined
  • Do null check on $fields['type']
  • Only clear cache if the node has already been saved ($node->nid is set)
  • Used _inherit_get_data() instead of _inherit_get()
  • Check if $parent['parent'] != 0 before retrieving field information of parent type

Patch is attached.

CommentFileSizeAuthor
#2 inherit-373902.patch1.48 KBBartVB
inherit.module.zip2.85 KBjvanprehn

Comments

eabrand’s picture

please use diff and post as .patch

BartVB’s picture

StatusFileSize
new1.48 KB

Converted the .zip to a .patch

zoltán balogh’s picture

subscribing

jvieille’s picture

Why this July 2010 dev does not correct this bug identified and fixed 1,5 year ago?