20 - Ambiguous toon names in group show incorrect status

What steps will reproduce the problem?
1. Go to a connected realm
2. Invite two players with the same toon name (but different realm) to one calendar event
3. Invite one of the players to group

What is the expected output? What do you see instead?
The event character list shows both players as online and in-group when in fact only one is.

What version of the product are you using?
dev head

Please provide any additional information below.

This bug arises when an ambiguous toon in an event list is invited to group, because
UnitInRaid(barename) will return true for multiple versions of the ambiguous toon
name, so all are shown as online and in group, when in fact only one of the
toons is online/in-group. Also, UnitInRaid("name-MyRealm") always fails, so that
API is basically useless for getting unambiguous answers in the presence of
cross-realm group members sharing a name.  Fixing this problem would require
maintaining our own copy of the group roster with fully-qualified names, and
replacing all the calls to UnitInRaid/UnitInParty with fully-qualified lookups
to ensure we are checking the correct fully-qualified player name.

It's probably not worth the trouble to fix this right now(?), but if the Blizzard
Calendar is ever expanded to allow inviting players on other non-connected realms,
that would increase the chances of ambiguous name conflicts in an event
and would motivate a fix.

User When Change
oscarucb Feb 05, 2014 at 11:15 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of wT- wT- Feb 06, 2014 at 12:45 UTC - 0 likes

    Hm, sounds tricky. I'm quite surprised UnitInRaid("name-MyRealm") does nothing. The API is sometimes a total mess in my opinion.

    Oh well. If you do get around to fixing this, you can tag a new version. I've been using the x.y.z scheme as bumping "x" for major rewrites, "y" for new features optionally with bugfixes, and "z" for just bugfix releases.

    Thanks for taking the time to investigate this!

  • 1 comment


Feb 05, 2014
New - Issue has not had initial review yet.
Defect - A shortcoming, fault, or imperfection
Medium - Normal priority.

Reported by

Possible assignees