Ambiguous toon names in group show incorrect status #20


  • New
  • Defect
Open
Assigned to mrfixlt
  • _ForgeUser405586 created this issue Feb 5, 2014

    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.

  • _ForgeUser405586 added the tags New Defect Feb 5, 2014
  • Forge_User_39182111 posted a comment Feb 6, 2014

    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!


To post a comment, please login or register a new account.