Error when adding tags

cancel
Showing results for 
Search instead for 
Did you mean: 
wshomeworker10
Active Member II

Error when adding tags

Jump to solution

Hi, I was wondering if someone could help me with this error please? I've search the forum and online but I haven't found a solution.

I get this error when I try to add a tag on a document:

Failure Could not create new item.

Logs:

0629334795 Found 1 integrity violations:The association source type is incorrect: Source Node: workspace://SpacesStore/1e88cd61-607e-11dc-af48-8b100325f217 Association: Association[ class=ClassDef[name={http://www.alfresco.org/model/content/1.0}category], name={http://www.alfresco.org/model/content/1.0}subcategories, target class={http://www.alfresco.org/model/content/1.0}category, source role=null, target role=null] Required Source Type: {http://www.alfresco.org/model/content/1.0}category Actual Source Type: {http://www.alfresco.org/model/action/1.0}actionparameter

Version: Community v6.1.2 (r589dc49b-b205)

The tag manager is also empty. Please see some screenshots attached below.

 

Error when adding tagsError when adding tags

 

Empty tag managerEmpty tag manager

 

1 Solution

Accepted Solutions
afaust
Master

Re: Error when adding tags

Jump to solution

This kind of error is curious and I am wondering if you have applied some 3rd party modules / customisations to your Alfresco system that may have messed it up. The actionparameter source type should not at all be involved when creating a new tag, unless the form configuration is changed from the defaults to cause new elements to be created in weird places. The inability to list tags may be related to a dysfunctional search / SOLR setup, but may also indicate other problems - without detail information about the error there (check the browser network tab and Alfresco / Share logs), it is hard to tell.

View solution in original post

4 Replies
afaust
Master

Re: Error when adding tags

Jump to solution

This kind of error is curious and I am wondering if you have applied some 3rd party modules / customisations to your Alfresco system that may have messed it up. The actionparameter source type should not at all be involved when creating a new tag, unless the form configuration is changed from the defaults to cause new elements to be created in weird places. The inability to list tags may be related to a dysfunctional search / SOLR setup, but may also indicate other problems - without detail information about the error there (check the browser network tab and Alfresco / Share logs), it is hard to tell.

View solution in original post

wshomeworker10
Active Member II

Re: Error when adding tags

Jump to solution

Thank you for replying. We don't have any customisations. Searching also works fine. There is nothing in the share logs. I have pasted the logs from Alfresco and the response from the network tab below. https://stackoverflow.com/questions/51176602/alfresco-found-1-integrity-violations-the-association-s...

This is the only thing I've found that looks like is closest to the error I'm getting. Unfortunately I'm not very experienced with Alfresco and I don't know where to find and change the bits mentioned in this post.

 

Spoiler

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

"message" : "0630341705 Found 1 integrity violations:\nThe association source type is incorrect: \n Source Node: workspace:\/\/SpacesStore\/1e88cd61-607e-11dc-af48-8b100325f217\n Association: Association[ class=ClassDef[name={http:\/\/www.alfresco.org\/model\/content\/1.0}category], name={http:\/\/www.alfresco.org\/model\/content\/1.0}subcategories, target class={http:\/\/www.alfresco.org\/model\/content\/1.0}category, source role=null, target role=null]\n Required Source Type: {http:\/\/www.alfresco.org\/model\/content\/1.0}category\n Actual Source Type: {http:\/\/www.alfresco.org\/model\/action\/1.0}actionparameter",
"exception" : "",

"callstack" :
[

],

"server" : "Community v6.1.2 (r589dc49b-b205) schema 13,001",
"time" : "30 Jul 2020, 10:23:49"
}

 

 

Spoiler
2020-07-30 08:53:43,968 ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] [http-nio-8080-exec-11] Found 1 integrity violations:
The association source type is incorrect: 
   Source Node: workspace://SpacesStore/1e88cd61-607e-11dc-af48-8b100325f217
   Association: Association[ class=ClassDef[name={http://www.alfresco.org/model/content/1.0}category], name={http://www.alfresco.org/model/content/1.0}subcategories, target class={http://www.alfresco.org/model/content/1.0}category, source role=null, target role=null]
   Required Source Type: {http://www.alfresco.org/model/content/1.0}category
   Actual Source Type: {http://www.alfresco.org/model/action/1.0}actionparameter
2020-07-30 08:53:43,969 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-11] Exception from executeScript: 0630341215 Found 1 integrity violations:
The association source type is incorrect: 
   Source Node: workspace://SpacesStore/1e88cd61-607e-11dc-af48-8b100325f217
   Association: Association[ class=ClassDef[name={http://www.alfresco.org/model/content/1.0}category], name={http://www.alfresco.org/model/content/1.0}subcategories, target class={http://www.alfresco.org/model/content/1.0}category, source role=null, target role=null]
   Required Source Type: {http://www.alfresco.org/model/content/1.0}category
   Actual Source Type: {http://www.alfresco.org/model/action/1.0}actionparameter
org.alfresco.repo.node.integrity.IntegrityException: 0630341215 Found 1 integrity violations:
The association source type is incorrect: 
   Source Node: workspace://SpacesStore/1e88cd61-607e-11dc-af48-8b100325f217
   Association: Association[ class=ClassDef[name={http://www.alfresco.org/model/content/1.0}category], name={http://www.alfresco.org/model/content/1.0}subcategories, target class={http://www.alfresco.org/model/content/1.0}category, source role=null, target role=null]
   Required Source Type: {http://www.alfresco.org/model/content/1.0}category
   Actual Source Type: {http://www.alfresco.org/model/action/1.0}actionparameter
    at org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:669)
    at org.alfresco.repo.node.integrity.IntegrityChecker.beforeCommit(IntegrityChecker.java:771)
    at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.beforeCommit(TransactionSupportUtil.java:500)
    at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:96)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:922)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:730)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714)
    at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533)
    at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:479)
    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:472)
    at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)
    at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)
    at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:428)
    at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308)
    at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399)
    at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)
    at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
    at org.alfresco.repo.web.scripts.AlfrescoWebScriptServlet.service(AlfrescoWebScriptServlet.java:43)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    at jdk.internal.reflect.GeneratedMethodAccessor471.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:170)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:225)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at jdk.internal.reflect.GeneratedMethodAccessor467.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
    at org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93)
    at jdk.internal.reflect.GeneratedMethodAccessor467.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
    at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)
    at jdk.internal.reflect.GeneratedMethodAccessor467.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
    at org.alfresco.web.app.servlet.ClearSecurityContextFilter.doFilter(ClearSecurityContextFilter.java:53)
    at jdk.internal.reflect.GeneratedMethodAccessor467.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.base/java.lang.Thread.run(Thread.java:834)

 

wshomeworker10
Active Member II

Re: Error when adding tags

Jump to solution

Thank you for pointing us in the right direction, upgrading the SOLR docker image has fixed the issue.

EddieMay
Community Manager
Community Manager

Re: Error when adding tags

Jump to solution

Hi @wshomeworker10 

Great news that you've found a fix & thanks for updating - helpful to other users.

Take care,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!