Without Ctools' Bulk Export module being turned on, Lucene throws the following error on node edit:

undefined function: function ctools_export_crud_load_all();

Should probably be listed as a dependency. Cheers!

CommentFileSizeAuthor
#4 luceneapi-1104536-4.patch629 bytescpliakas

Comments

cpliakas’s picture

Hi illepic.

Thanks for posting! AFAIK that function is actually not in the bulk export module, and we can get away without having a dependency if we ensure ctools_include('export'); is called before that function is invoked. Do you happen to know what line number and file the error was thrown on?

Thanks again for you help.
Chris

iinet’s picture

We are getting same error:
Call to undefined function ctools_export_crud_load_all() in /home/www/vhosts/intranet.hsl.virginia.edu/sites/all/modules/luceneapi/contrib/luceneapi_node/luceneapi_node.module on line 42

We dropped in the following ctools function as suggested in issue, (http://drupal.org/node/1104536 ) and this solved the problem. Can somone add this to the queue so, it can be in the project?

Function Required Below:
ctools_include('export');

cpliakas’s picture

Priority: Normal » Critical

iinet,

Thanks for the error message. I see where the code is needed now. Will post a patch that resolves the issue.

Thanks,
Chris

cpliakas’s picture

Status: Active » Needs review
StatusFileSize
new629 bytes

The attached patch should fix the issue.

cpliakas’s picture

Status: Needs review » Closed (won't fix)

Due to end of life announcement.