Download & Extend

undefined function cmisapi_getRepositoryInfo - incompatibility between 'Services' module and 'CMIS' module

Project:CMIS API
Version:6.x-4.0
Component:Code
Category:bug report
Priority:critical
Assigned:cfuller12
Status:closed (fixed)

Issue Summary

When I enable the main CMIS module I get the following error:

( ! ) Fatal error: Call to undefined function cmisapi_getRepositoryInfo() in C:\...\d6.dev\modules\cmis\cmis.module on line 95
Call Stack
# Time Memory Function Location
1 0.0064 83848 {main}( ) ..\index.php:0
2 0.9847 27053296 menu_execute_active_handler( ) ..\index.php:18
3 1.0053 27774248 call_user_func_array ( ) ..\menu.inc:348
4 1.0053 27774536 drupal_get_form( ) ..\menu.inc:0
5 7.7658 29417456 drupal_process_form( ) ..\form.inc:119
6 8.2914 31140928 form_execute_handlers( ) ..\form.inc:416
7 55.5779 52631992 services_system_modules_submit( ) ..\form.inc:776
8 55.5779 52632192 services_get_all( ) ..\services.module:564
9 55.5779 52634488 module_invoke_all( ) ..\services.module:681
10 55.5827 52729128 call_user_func_array ( ) ..\module.inc:483
11 55.5827 52729360 cmis_service( ) ..\module.inc:0
12 55.6197 52742208 cmis_get_repository( ) ..\cmis.module:130

---
When I add: module_load_include('api.inc', 'cmis'); to cmis_service function as a quick fix, I get another error:

( ! ) CMISException: Unknown CMIS vendor: cmis_common in C:\...\d6.dev\modules\cmis\cmis.module on line 186
Call Stack
# Time Memory Function Location
1 0.0015 83848 {main}( ) ..\index.php:0
2 0.9975 27115184 menu_execute_active_handler( ) ..\index.php:18
3 1.0239 27836168 call_user_func_array ( ) ..\menu.inc:348
4 1.0239 27836456 drupal_get_form( ) ..\menu.inc:0
5 7.2756 29479520 drupal_process_form( ) ..\form.inc:119
6 7.7997 31203056 form_execute_handlers( ) ..\form.inc:416
7 50.6683 52640224 services_system_modules_submit( ) ..\form.inc:776
8 50.6683 52640424 services_get_all( ) ..\services.module:564
9 50.6683 52642720 module_invoke_all( ) ..\services.module:681
10 50.6730 52736688 call_user_func_array ( ) ..\module.inc:483
11 50.6730 52736920 cmis_service( ) ..\module.inc:0
12 50.6976 52834824 cmis_get_repository( ) ..\cmis.module:131
13 50.6977 52837128 cmisapi_getRepositoryInfo( ) ..\cmis.module:95
14 50.6977 52837232 cmis_vendor_invoke( ) ..\cmis.api.inc:22

---

Thanks!

Comments

#1

I am getting the same error. Did you ever find a solution?

#2

Title:undefined function cmisapi_getRepositoryInfo» undefined function cmisapi_getRepositoryInfo - incompatibility between 'Services' module and 'CMIS' module

The 'Services' module and CMIS module are incompatible.
cmis.module has a function cmis_service. The Service module executes all the 'hook_service' methods. So cmis_service is executed if the 'Service' module is enabled. cmis_service is not an implementation of the hook_service, this method needs to be renamed.

#3

Version:6.x-3.01» 6.x-4.0
Assigned to:Anonymous» cfuller12

Oops - thanks for responding to this venkmur. Not sure how we ignored it for so long, but that was the bump I needed. This is definitely an issue and I'll try to get it fixed ASAP.

#4

Thanks cfuller12 :).

#5

Hi cfuller12 ,I am using both the CMIS and services modules for my project , it would be great if you can fix this at your earliest convenient time.Thanks!

#6

Status:active» needs review

Fix for this is in the latest commit and will be in the dev snapshot after the update. Please review and let me know if there are any additional issues.

#7

Thanks!

#8

Status:needs review» closed (fixed)
nobody click here