It seems there is a typo in line 390 of file: node_gallery_api.inc

- $relationship_id = $relationship_type->id;
+ $relationship_type_id = $relationship_type->id;

This typo seems to cause a core error when trying to sort or manage items when using a second relationship type :
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids()

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bebop-design created an issue. See original summary.

gaurav.bajpai’s picture

Assigned: Unassigned » gaurav.bajpai
gaurav.bajpai’s picture

Hi bebop-design,

Patch is created for this issue.

Thanks,
Gaurav

gaurav.bajpai’s picture

Status: Active » Needs review
nupur.lohokare’s picture

Assigned: gaurav.bajpai » Unassigned
Status: Needs review » Reviewed & tested by the community

Hi gaurav.bajpai,

Patch looks good to me.

Thanks
Nupur

zengenuity’s picture

Status: Reviewed & tested by the community » Fixed

Thanks all. Committed this patch.

Status: Fixed » Closed (fixed)

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