RM-360: Upgrade from RM 1.0 to RM 2.0 failed

* By passed issues caused by changing AMP name ... seems the component registry isn't updated so some are re-run, potentially causing issues
  * Added compatibility class ... is referenced by a 1.0 custom model .. also gives us a slot if other issues arrise .. may move some of the other compatibility code in here if I get time
  * Tested upgrading from V3.4.x to V4.0.1 with RM 2.0



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2012-05-21 06:20:01 +00:00
parent af1120574f
commit d7d9f151ec
7 changed files with 101 additions and 6 deletions

View File

@@ -61,7 +61,7 @@
<cm:content>contentUrl=classpath:alfresco/module/org_alfresco_module_rm/bootstrap/content/recordsCustomModel.xml|mimetype=text/plain|encoding=UTF-8</cm:content>
<cm:title>recordsCustomModel.xml</cm:title>
<cm:name>recordsCustomModel.xml</cm:name>
<cm:modelName>{http://www.alfresco.org/model/rmcustom/1.0}rmc</cm:modelName>
<cm:modelName>{http://www.alfresco.org/model/rmcustom/1.0}rmcustom</cm:modelName>
<cm:modelDescription>Records Management Custom Model</cm:modelDescription>
<cm:modelAuthor>Alfresco</cm:modelAuthor>
<cm:modelVersion>1.0</cm:modelVersion>

View File

@@ -4,16 +4,15 @@
<beans>
<!-- Bootstrap records management data -->
<bean id="org_alfresco_module_rm_bootstrapData"
class="org.alfresco.repo.module.ImporterModuleComponent"
class="org.alfresco.module.org_alfresco_module_rm.bootstrap.BootstrapImporterModuleComponent"
parent="module.baseComponent">
<property name="nodeService" ref="nodeService" />
<property name="moduleId" value="org_alfresco_module_rm"/>
<property name="name" value="org_alfresco_module_rm_bootstrapData"/>
<property name="description" value="Bootstrap records management data"/>
<property name="sinceVersion" value="1.0"/>
<property name="appliesFromVersion" value="1.0"/>
<!-- Data properties -->
<property name="importer" ref="spacesBootstrap"/>
<property name="bootstrapViews">
<list>
@@ -155,7 +154,8 @@
<!-- Job context -->
<import resource="classpath:alfresco/module/org_alfresco_module_rm/rm-job-context.xml"/>
<bean id="RecordsManagementBootstrap" class="org.alfresco.module.org_alfresco_module_rm.RecordsManagementBootstrap">
<!-- Bootstrap bean -->
<bean id="RecordsManagementBootstrap" class="org.alfresco.module.org_alfresco_module_rm.bootstrap.RecordsManagementBootstrap">
<property name="transactionService" ref="transactionService"/>
<!-- init caveatConfig behaviours -->