AnsweredAssumed Answered

integrity error when using association <taget><many

Question asked by friedman30 on Jun 17, 2007
Latest reply on Jun 18, 2007 by friedman30
I'm experiencing a strange behavior after defining a new type.
I've added this code to customModel.xml

<type name="custom:Team">
                  <property name="custom:TeamName">
                      <title>Team Name</title>
                  <association name="custom:Player">

when i'm adding an association, and then deleting it and confirming the deletion, i get this error:

ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] Found 1 integrity violations:
The association source multiplicity has been violated:
   Association: Association[ class=ClassDef[name={custom.model}Team], name={custom.model}Player, target class={}content, source role=null, target role=null]
   Required source Multiplicity: 1..*
   Actual source Multiplicity: 0

Is this a bug in alfresco?  :shock:
If not - how can i fix this ?