sylvanaar / prat-3-0

Prat-3.0 is a chat enhancement addon for world of warcraft
https://www.curseforge.com/wow/addons/prat-3-0
GNU General Public License v3.0
25 stars 45 forks source link

Alts/Mains not showing in tooltips reliably #203

Open orionshock opened 3 years ago

orionshock commented 3 years ago

Describe the bug After setting alt/main relationship either via Guild Note import or manually via /prat, the additional lines in the tooltip don't appear

To Reproduce Steps to reproduce the behavior:

  1. Classic
  2. Latest Version of Prat
  3. Set Alt Main Relationship & confirm it by listing it via /prat's config options

Expected behavior nothing shown on tooltip on mouse over

Dumps List Alts: Prat 3.0 (AltNames) : 5 alts found for Edrik: Zatalia-oldblanchy, Valmont-oldblanchy, Chenoeh-oldblanchy, Kumori-oldblanchy, and Elidee-oldblanchy

Find characters: Prat 3.0 (AltNames) : Found alt: Valmont-oldblanchy => main: Edrik Prat 3.0 (AltNames) : Found alt: Chenoeh-oldblanchy => main: Edrik Prat 3.0 (AltNames) : Found alt: Kumori-oldblanchy => main: Edrik Prat 3.0 (AltNames) : Found alt: Elidee-oldblanchy => main: Edrik Prat 3.0 (AltNames) : Found alt: Zatalia-oldblanchy => main: Edrik Prat 3.0 (AltNames) : searched for: Edrik - total matches: 5

Find Characters: Prat 3.0 (AltNames) : Found alt: Kumori-oldblanchy => main: Edrik Prat 3.0 (AltNames) : searched for: Kumori - total matches: 1

List Alts: Prat 3.0 (AltNames) : no alts found for character Kumori


Dump: value=LibStub("LibAlts-1.0"):GetMain("Kumori") empty result Dump: value=LibStub("LibAlts-1.0"):GetAlts("Kumori") empty result Dump: value=LibStub("LibAlts-1.0"):GetAlts("Edrik") [1]="Zatalia-oldblanchy", [2]="Valmont-oldblanchy", [3]="Chenoeh-oldblanchy", [4]="Kumori-oldblanchy", [5]="Elidee-oldblanchy" Dump: value=LibStub("LibAlts-1.0"):GetMain("Kumori-oldblanchy") [1]="Edrik"

I think the cross referencing with LibAlts is breaking with the inconsistent implementation of "char" vs "char-realmName" that classic does.

Version Information (please complete the following information):