Hi there,
I've done some work to update this and the cmis project to support the draft 1.0 in Alfresco 3.2 community. It's not nearly complete, but allows the information interfaces the modules expose from Alfresco to work (... mostly... :) ). I'm hoping to get all the functionality updated within a week or two, but was wondering if you'd like to take a look first and see if it's consistent with what you'd be doing?
A few notes:
- I'm using the $is_prefix flag in SimpleXML calls, which should allow for the removal of _cmis_alfresco_utils_cmis_version_autodiscovery() and cmis_alfresco_utils_get_namespaces(), but I'm unsure how you planned to handle backwards compatibility (or if you think that's important?)
- the patches so far are assuming no backwards compatibility with anything less than the current 1.0 draft...
The four patches should give the following functionality:
- able to view repository info against 3.2 community
- able to browse / get entries / entry / objectId stuff against 3.2 community. Navigating folders isn't done yet, and I wasn't sure how you wanted to handle individual files (ie, right now it just downloads things like images, html files, did you want them to show up instead?)
- use the drupal pager instead of the custom one for keyword search results
- minor E_NOTICE cleanups
Anyhow, before I continued on, was hoping for some feedback. If you're working on 1.0 compatibility already, didn't want to waste efforts.
| Comment | File | Size | Author |
|---|---|---|---|
| cmis.patch.txt | 1.59 KB | mundanity | |
| utils.patch.txt | 5.01 KB | mundanity | |
| pages.patch.txt | 2.32 KB | mundanity | |
| module.patch.txt | 1.9 KB | mundanity |
Comments
Comment #1
cbalan commentedHey mundanity,
Thank you for your work. Awesome!
This week, and probably next one, I'll work on CMIS-1.x support.
Regarding backward compatibility I'll start cmis-3.x branch which will only support >CMIS-1.x (and yes, we'll drop the version_autodiscovery related functions).
Previous version of CMIS will still be supported by cmis-2.x branch.
I'll update this issue with eventual comments as soon as I'll have some progress in this.
Thank you,
Catalin Balan
Comment #2
mundanity commentedHi Catalin,
Great, is there anything I can do help out? I was hoping to basically finish up 1.x support this weekend, but obviously don't want to duplicate efforts. The other "issue" is that the integration point is essentially a blocker for a few projects I'm involved in. Is it helpful to you if I post my updates, or are you pretty confident on a release in the (er... very?) near future? :)
Comment #3
nancygarrity commentedHello Catalin,
Any update on when you'll have support for 1.0?
Thanks for your work on this.
Nancy Garrity
Alfresco Community Manager
Comment #4
cbalan commentedHello,
In cmis-6.x-3.x-dev we've replaced our CMIS client with http://code.google.com/p/cmis-php-client-programming/ which support CMIS1.0 specs.
Also please note that in cmis-6.x-3.x cmis_alfresco module is deprecated by th cmis_common module present in cmis package ( http://drupal.org/project/cmis )
Closing this ticket.
Thank you,
Catalin Balan