Hi,
I got this error message : error: Found shared references to a collection: Person.relatedPersons
when I tried to save addToRelatedPersons(anotherPerson) :
person.addToRelatedPersons(anotherPerson);
anotherPerson.addToRelatedPersons(person);
anotherPerson.save();
person.save();
my domain :
Person {
static hasMany = [relatedPersons:Person];
}
any idea why this happens ?