Fatal error: Cannot access empty property in cmis\cmis_sync\cmis_sync.module on line 165

jacobbj - September 24, 2009 - 10:23
Project:CMIS Alfresco
Version:6.x-2.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Issue tags:alfresco, CMIS, cmis_alfresco
Description

i am trying to sync my contents in alfresco folder with a node type.
but i am getting this error "Fatal error: Cannot access empty property in cmis\cmis_sync\cmis_sync.module on line 165"

Please provide me information on this can be handled.

#1

cbalan - September 29, 2009 - 12:20

Hello Jacob,

What version of alfresco are you using ?

Thank you,
Catalin Balan

#2

Phantomload - October 1, 2009 - 20:48

I am not the original poster, but I have the same error. Running Alfresco Comunity 3.2 and drupal 6.14 using mod_jk (apache/tomcat) on wampserver(php5.2). It occured after enabling CMIS Sync, so I assumed it was becuse I had not configured cron (could not find documentation on this step). The real issue is it appears I can nolonger disable CMIS page/story sync as the pages containing the drop-downs reads this at the top:
Failed to invoke service /api/type/document/descendants Code:500

Otherwise, things are looking promising!
-Phantomload

#3

dragonflyyvr - October 28, 2009 - 16:58

Hi,
I got this error if I enable the sync for some of the content types but not set the rest of the properties on the admin/settings/cmis/sync/your_content_type.

You need to set:
CMIS folder - (ex., /Company Home);
Available CMIS types - I set it to "Document";
CMIS type - this is a MIME type (took me a while to figure it up) - ex., "text/html"

When you save it, you'll get more properties to set.
"Content field" would probably be a "body", not sure about "Fields synchronization" - here you will have to to experiment...

#4

jdoek - October 29, 2009 - 21:33

Hi,

I also seem to have some problems getting things to work properly.
I can access the reposatory etc. on the front-end so my config should be good.
But in the admin settings for cmis sync i also get the error as stated above "Failed to invoke service /api/type/document/descendants Code:500"

I only see a dropdownlist where i can choose disable (Default) and enable.
Whenever i enable it and press save i get the error.
Where should i be able set CMIS folder / available CMIS types and CMIS type if those options aren't available at the sync page?

The only thing i did differently as what is in the readme is that i use IIS instead of apache2. (Cause i need to have sso on active directory)

#5

cbalan - October 30, 2009 - 10:44

Hello all,

Please note that CMIS call api/type/document/descendants is broken in Alfresco Community 3.2. See https://issues.alfresco.com/jira/browse/ALFCOM-3277
As an workaround, feel free to patch Alfresco using the patch attached to ALFCOM-3277 ticket.

Thank you,
Catalin Balan

#6

rgovil - December 2, 2009 - 22:16

I am getting the same error after enabling the sync feature.

"Failed to invoke service /api/type/document/descendants Code:500"

I am using Alfresco 3.2 community edition and Drupal 6.14

Is there a way to disable the sync of various types?

Thanks
ravi

 
 

Drupal is a registered trademark of Dries Buytaert.