cancel
Showing results for 
Search instead for 
Did you mean: 

Error when modify Custom Metadata

ryosaeba
Champ in-the-making
Champ in-the-making
Hello,

I have a problem with custom metadata on Record Management. I can create a custom metada but when i want to modify it, i have an error message.
My colleague has the same problem but with a different error message. You can see it on the 2 attachments.

————————-
Pour les francophones :

Je ne peux pas modifier les meta données une fois qu'elles ont été crées dans la console de gestion. On a deux messages différents entre ma collègue et moi (elle est sur Mac et moi non, peut être un rapport ?). On peut voir les messages d'erreurs sur les deux images jointes.
————————-

Thanks for advance,
Sebastien

The code reponse send by firebug :


{
    "status" :
  {
    "code" : 500,
    "name" : "Internal Error",
    "description" : "An error inside the HTTP server which prevented it from fulfilling the request."

  }, 
 
  "message" : "03240128 Failed to validate property delete - found 1 nodes in store workspace:\/\/SpacesStore
with PROPERTY '{http:\/\/www.alfresco.org\/model\/rmcustom\/1.0}CustomMeta'", 
  "exception" : "org.alfresco.error.AlfrescoRuntimeException - 03240128 Failed to validate property delete
- found 1 nodes in store workspace:\/\/SpacesStore with PROPERTY '{http:\/\/www.alfresco.org\/model
\/rmcustom\/1.0}CustomMeta'",
 
  "callstack" :
  [
       ""      ,"org.alfresco.error.AlfrescoRuntimeException: 03240128 Failed to validate property delete
- found 1 nodes in store workspace:\/\/SpacesStore with PROPERTY '{http:\/\/www.alfresco.org\/model
\/rmcustom\/1.0}CustomMeta'"
      ,"org.alfresco.repo.dictionary.ModelValidatorImpl.validateIndexedProperty(ModelValidatorImpl.java
:369)"
      ,"org.alfresco.repo.dictionary.ModelValidatorImpl.validatePropertyDelete(ModelValidatorImpl.java
:337)"
      ,"org.alfresco.repo.dictionary.ModelValidatorImpl.validateModel(ModelValidatorImpl.java:295)"
      ,"org.alfresco.repo.dictionary.DictionaryModelType$DictionaryModelTypeTransactionListener$2.doWork
(DictionaryModelType.java:630)"
      ,"org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548
)"
      ,"org.alfresco.repo.dictionary.DictionaryModelType$DictionaryModelTypeTransactionListener.beforeCommit
(DictionaryModelType.java:561)"
      ,"org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.doBeforeCommit
(TransactionSupportUtil.java:535)"
      ,"org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.doBeforeCommit
(TransactionSupportUtil.java:514)"
      ,"org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.beforeCommit
(TransactionSupportUtil.java:479)"
      ,"org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils
.java:95)"
      ,"org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit
(AbstractPlatformTransactionManager.java:925)"
      ,"org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager
.java:738)"
      ,"org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager
.java:724)"
      ,"org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
(TransactionAspectSupport.java:475)"
      ,"org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java
:482)"
      ,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper
.java:476)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java
:532)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer
.java:600)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java
:380)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:261
)"
      ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java
:378)"
      ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java
:209)"
      ,"org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java
:132)"
      ,"javax.servlet.http.HttpServlet.service(HttpServlet.java:727)"
      ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
:303)"
      ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
      ,"org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)"
      ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
:241)"
      ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
      ,"org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java
:61)"
      ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
:241)"
      ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
      ,"org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)"
      ,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)"
      ,"org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)"
      ,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)"
      ,"org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)"
      ,"org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)"
      ,"org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)"
      ,"org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)"
      ,"org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)"

      ,"org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607
)"
      ,"org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)"
      ,"org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)"
      ,"java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)"
      ,"java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)"
      ,"java.lang.Thread.run(Unknown Source)"

  ],
 
  "server" : "Community v5.0.0 (r86473-b92) schema 8 006",
  "time" : "24 avr. 2015 17:20:52"
}


My Record Management version : 2.3.b
2 REPLIES 2

ryosaeba
Champ in-the-making
Champ in-the-making
The second error message (bug when i wanted attach the 2 files on the first message)

lukask
Champ in-the-making
Champ in-the-making
I have the exact same problem!

workaround:
1. remove aspect / property from the nodes which have them set
2. edit contentModel aspects / properties
3. "re"-add the changed aspects / properties to the nodes