sergiogonzalez/liferay-portal — pull request #1530 by matethurzo (2014-06-24 14:39:05+00:00)
Title: [TECH SUPPORT] LPS-46597 

Hey Sergio,

This is a small bugfix although it affects how the repositories being initialized.

The problem happens when someone is using the documentum hook with staging. During import the staging process replaces the DL references in the contents (web content, blogs, etc) as the staging code is calling out to the repository the documentum is not initialized due the the code piece in the BaseRepositoryFactory, and the process fails there.

But as the CMIS works differently we do not need to init the repo there, so Ákos applied the code for the CMIS if we are importing we should skip the init.

Thanks,

Máté