Projet

General

Profil

Failed to create score list

Ajouté par Kevin Keung il y a plus de 9 ans

I'm using alfresco 4.2.f and latest beCPG community version.

The following error was shown in server when creating score list

16:46 31/07/14 [becpg-core] ERROR [AbstractRuntime] Exception from executeScript - redirecting to status template error: 06310045 Found 1 integrity violations:
Invalid property value:
Node: workspace://SpacesStore/a6c7d281-d6da-41ff-a566-4971414a6029
Type: {http://www.bcpg.fr/model/project/1.0}project
Property: {http://www.bcpg.fr/model/project/1.0}projectSponsor
Constraint: 06310044 The value is not an allowed value: -
org.alfresco.repo.node.integrity.IntegrityException: 06310045 Found 1 integrity violations:
Invalid property value:
Node: workspace://SpacesStore/a6c7d281-d6da-41ff-a566-4971414a6029
Type: {http://www.bcpg.fr/model/project/1.0}project
Property: {http://www.bcpg.fr/model/project/1.0}projectSponsor
Constraint: 06310044 The value is not an allowed value: -
at org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:661)
at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:688)
at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:927)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:472)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:474)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:491)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:529)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:341)

Please help!


Réponses (2)

RE: Failed to create score list - Ajouté par Matthieu Laborie il y a plus de 9 ans

Hi,

You have one project with sponsor value "-".

You have remove that value from sponsor constraint list. Add it back and reload model.
Or update you project un choose an other sponsor.

Regards

RE: Failed to create score list - Ajouté par Kevin Keung il y a plus de 9 ans

The problem was solved.

The sponsor metadata in project was invalid (as new constraint was added in sponsor), the update of the score list will also validate the project metadata.

    (1-2/2)