Groovy hasChild method checks Member name but not Alias?
Content
Hi
We are using groovy to add members on the fly however have come across issues where users are entering a new member with a replicated alias name and is giving issues. We use the hasChild method to check to see if the member exists which works however when a new member is added with the name the same as an alias it passes the check - has anyone come across this?
Example:
Parent code: "Test On the fly"
Existing member: X1234 (Alias: 4321X)
User attempts to add member X1234 again and this will error on the hasChild check
1