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.

Comments

cbalan’s picture

Hello Jacob,

What version of alfresco are you using ?

Thank you,
Catalin Balan

Phantomload’s picture

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

dragonflyyvr’s picture

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...

jdoek’s picture

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)

cbalan’s picture

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

rgovil’s picture

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

aluchman’s picture

Hi I'm getting the following alert message, when clicking on Administer > Site Configuration > CMIS Settings > Sync Page:

Failed to invoke service /cmis/type/document Code:404
Alfresco Web Script Status 404 - Not Found

The Web Script /alfresco/s/cmis/type/document has responded with a status of 404 - Not Found.

I have the following configuration on my server:
1. Drupal 6.15
2. Alfresco 3.2r2 Community Edition
3. CCK 6.x-3.x, CMIS 6.x-3.x and CMIS-Afresco 6.x-3.x

The patch proposed by cbalan is dated October 30. Does it still apply for the Alfresco version installed on my server?

Thanks for your replies.

Ashik Ved Luchman

cbalan’s picture

Status: Active » Closed (fixed)

Hello,

I believe that this issue is fixed in cmis-6.x-3.x-dev. Closing this ticket.
Feel free to re-open it if this issue still occurs.

Thank you,
Catalin Balan

jacobbj’s picture

Hi All,
The issue is with the Alfresco's CMIS layer, there seems to be many changes in the Alfresco's CMIS URLs.

Drupal - Alfresco bridge works perfectly with Alfresco 3.1 community edition.
In case of other Alfresco versions, we need to dig into the drupal's cmis module and modify the service urls.

cbalan’s picture

Hi Jacobbj,

Please note that since cmis-6.x-3.0-rc1:
- cmis_alfresco vendor specific module is not required
- only CMIS >=1.0 draft specs are supported.

CMIS 0.5/0.6 specs are supported only by cmis-6.x-2.x branch

Thank you,
Catalin Balan