_drush_entity_get_info needs base table info for versions before D7 so we can still use this function to get info but also use this to query the db. For this we need the base table in the info array. Unless I have missed something?

Comments

damiankloip’s picture

And maybe other attributes like label etc... too. I have committed the proposed changes to the 7.x-5.x-el branch

damiankloip’s picture

Status: Active » Needs review
damiankloip’s picture

Assigned: Unassigned » damiankloip
clemens.tolboom’s picture

Status: Needs review » Fixed

This is committed to both 7.x-5.x as the el branch.

clemens.tolboom’s picture

This was also a remaining task of the original issue

Fuzzy remark: The D7 seems to work ok apart from deleting anything but nodes.

We need more test cases for other entity types.

For D5/6

function _drush_entity_get_info

needs more meta data for eg 'delete callback' and implementation.:-(

Just for the record :)

damiankloip’s picture

Thanks :)

clemens.tolboom’s picture

I should have said "Thanks for the extending D6 capabilities".

So thanks for the extending D6 capabilities.

Status: Fixed » Closed (fixed)

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