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.
Solved! Go 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.
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.
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.
{
"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"
}
Thank you for pointing us in the right direction, upgrading the SOLR docker image has fixed the issue.
Great news that you've found a fix & thanks for updating - helpful to other users.
Take care,
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.