Document Library Hooks Migration

A few months ago Minhchau created a migration tool to move document library files from using one hook to another (e.g., JCRHook to AdvancedFileSystemHook).  He showed the code for it and wrote several plugins to handle this.  Due to popular request, this has now been moved into trunk!  I just checked in the code to help facilitate a move from one hook to another.

Blogs
Wow so, with 5.3, can we use Alfresco for Doument managament as repository (Instead of Jackrabbit?)
@Denis

You would need to use Alfresco via a hook. Since Alfresco supports JCR, you can conceivably use the JCRHook and configure it for Alfresco (this, I have not tested).

Alternatively, Alfresco supports CMIS and just made a release with 1.0 support. Trunk as of right now supports 0.61 CMIS, but I will be updating it shortly to support 1.0. So, by 5.3, you should be able to use Alfresco via CMISHook.
@Alexander

Really, really interesting, I'll wait 5.3. Jonas have you ever tested JCRHook with Alfesco? Is it stable and production ready solution? Most of out customers are interested in Liferay + Alfresco.

Thanks,
D.
Hi Alex, "convert-legacy-permission-algorithm" is missing in the section Data Migration. Are you planning to bring it back? Thanks.
Hey Jonas,

Good catch. But, it is actually there. emoticon

The thing is that it auto-detects if you are using a legacy permission algorithm before showing it under "Data Migration." Since I am running Liferay with algorithm 6, it doesn't show it. But if you set your algorithm to, say 2 or 5, it will.

Alex
Thank you, Alex.

Find an issue: http://issues.liferay.com/browse/LPS-6581

After migration, it shows
The system is currently undergoing maintenance. Please try again later.
Thu, 17 Dec 2009 14:59:45 +0000 Executing com.liferay.portal.convert.ConvertDocumentLibrary
Nice Feature but I'll get an Exception when I try to migrate from JCRHook:
http://issues.liferay.com/browse/LPS-12109
The issue I mentioned was closed (http://issues.liferay.com/browse/LPS-12109) yesterday, but NO file from the document library will be convert. So all of them are lost.
This issue can't be fixed/closed.
I don't know, if you are responsible of the ConvertImageGallery tool, but I give it a try:
There is bug when you are converting from the DatabaseHook:
http://issues.liferay.com/browse/LPS-12110