Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi cmis-api maintainers,
I fixed a slight bug in the cmis_repository_wrapper.php to allow CMIS querying against Alfresco 4 Community Edition.
The attached patch adds default values to the query-template. Otherwise Alfresco's API will complain about wrong typed values (HTTP Status 400 - invalidArgumentInvalid boolean value! etc.)
I am not aware of the origin of the cmis_repository_wrapper.php. Maybe this is already fixed upstream.
Is it possible to merge these changes, as modules like cmis_views won't display any results without this fix (as long as you are using Alfresco 4).
Best regards,
Lennart
Comment | File | Size | Author |
---|---|---|---|
fix-cmis-query-for-alfresco-4.patch | 1.33 KB | LCM | |
Comments
Comment #1
IanNorton CreditAttribution: IanNorton commentedHi Lennart,
Thanks for that - the patch looks good, the work Alfresco have done in changing CMIS in 4.2 Enterprise and 4.2.d+ community seems to have caused an issue for the PHP CMIS API wrapper, it's hosted on the Apache Chemistry site so I'll give the guy maintaining it a heads up on your fix.
Much appreciated - just checking in to dev branch.
Ian
Comment #2
IanNorton CreditAttribution: IanNorton commentedTested and pushed out bug fix release 1.6
Comment #3
LCM CreditAttribution: LCM commentedHi Ian,
thanks for the quick response. This is a valuable step towards a fully working CMIS integration for our team. Sadly I also had problems with the Filepicker for cmis_field, so I altered some of the code and published it in a separate Issue (#2122905: CMIS Browser overwrites all values of Multiple CMIS Fields). It would be great if you had the time to review the issue as well and tell me how I can help to integrate the proposed fixes into the cmis module mainline.
Kindly,
Lennart