You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Groovy hasChild method checks Member name but not Alias?

Accepted answer
8
Views
3
Comments
edited Jan 21, 2021 11:51PM in Planning 3 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!