Attempt to delete a block type leading to

500 Fatal error: Call to undefined function ctools_export_crud_delete() in /var/www/drupal-test/sites/all/modules/dev/bean/bean_admin_ui/plugins/custom.inc on line 20, referer: http://drupal.loc/admin/structure/block-types/manage/block-with-image/de...

function ctools_export_crud_delete() is hosting in ctools/includes/export.inc but that file is obviously not getting include.

This issue as i see comes up from #1785950-1: Revert and delete should be separate operations.
Patch to come.

Comments

pingwin4eg’s picture

Status: Active » Needs review
StatusFileSize
new531 bytes

Here it is.

jonhattan’s picture

StatusFileSize
new699 bytes

It is convenient to do the inclusion in the same code block in which the function is going to be invoked. Think of someone writing it's own code to manage BeanCustom.

ps. I guess it was working for me when I did #1785950: Revert and delete should be separate operations because I had features.module enabled.

indytechcook’s picture

Status: Fixed » Closed (fixed)

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