09-30-2014 09:40 AM
<bean id="patch.db-V4.2-add-new-table" class="org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch" parent="basePatch">
<property name="id"><value>patch.db-V4.2-add-new-table</value></property>
<property name="description"><value>patch.db-V4.2-add-new-table.description</value></property>
<property name="fixesFromSchema"><value>0</value></property>
<property name="fixesToSchema"><value>6018</value></property>
<property name="targetSchema"><value>6019</value></property>
<property name="scriptUrl">
<value>classpath:alfresco/extension/dbscripts/upgrade/4.2/${db.script.dialect}add-new-table.sql</value>
</property>
</bean>
<bean id="schema.upgrade.sampleextension" class="org.alfresco.repo.domain.schema.SchemaBootstrapRegistration" init-method="register">
<property name="schemaBootstrap" ref="schemaBootstrap" />
<property name="postUpdateScriptPatches">
<list>
<ref bean="patch.db-V4.2-add-new-table" />
</list>
</property>
</bean>
09-30-2014 09:54 AM
09-30-2014 11:07 AM
09-30-2014 12:04 PM
10-01-2014 04:23 AM
17:37:23,022 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patch.db-V4.2-add-new-table' defined in class path resource [alfresco/module/repoAmp/context/service-context.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'targetSchema' threw exception; nested exception is java.lang.IllegalArgumentException: 'targetSchema' must be greater than 'fixesToSchema'
10-01-2014 07:23 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.