Redpill-Linpro / alfresco-listmanager

Component used to manage custom list of values used in metadata forms.
13 stars 6 forks source link

Exception #12

Closed udaikumar26 closed 6 years ago

udaikumar26 commented 6 years ago

Got the below exception when starting alfresco.

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patch.migrateFromNameToTitlePatch' defined in class path resource [alfresco/module/listmanager-amp/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'.

Fixed it by randomly changing the value of fixesToSchema to 1(instead of {version.schema}). Is that correct?

billerby commented 6 years ago

Which version of Alfresco are you on? This may be due to that the schema version after Alfresco 5.0 has gone beyond 10000, so setting that property to 100000 in the contex-file will probably fix this.

udaikumar26 commented 6 years ago

Alfresco 5.2. What is the fix and where we need to change?

billerby commented 6 years ago

Fixed in new release 1.5.4