- 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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | inherit-373902.patch | 1.48 KB | BartVB |
| inherit.module.zip | 2.85 KB | jvanprehn |
Comments
Comment #1
eabrand commentedplease use diff and post as .patch
Comment #2
BartVB commentedConverted the .zip to a .patch
Comment #3
zoltán balogh commentedsubscribing
Comment #4
jvieille commentedWhy this July 2010 dev does not correct this bug identified and fixed 1,5 year ago?