seblindfors / Immersion

Immersive questing addon for World of Warcraft
Artistic License 2.0
26 stars 15 forks source link

Lua error when pressing <shift> when mousing over an item to do a comparison #14

Closed brittyazel closed 2 years ago

brittyazel commented 2 years ago

As stated above, this error happens when pressing while mousing over the quest rewards to do an item comparison. This error is probably a hold-out from the Backdrop mixin changes made early in Shadowlands

2x [string "ImmersionGameTooltip3:OnLoad"]:2: attempt to call method 'SetBackdropBorderColor' (a nil value)
[string "*:OnLoad"]:2: in function <[string "*:OnLoad"]:1>
[string "=[C]"]: ?
[string "=[C]"]: in function `CreateFrame'
[string "@Immersion\Utils.lua"]:12: in function `Create'
[string "@Immersion\Logic\Inspector.lua"]:29: in function `creationFunc'
[string "@SharedXML\Pools.lua"]:50: in function `Acquire'
[string "@Immersion\Logic\Logic.lua"]:260: in function `ShowItems'
[string "@Immersion\Logic\Logic.lua"]:469: in function <Immersion\Logic\Logic.lua:460>

Locals:
self = ImmersionGameTooltip3 {
 0 = <userdata>
 layoutType = "TooltipDefaultLayout"
 TextLeft1 = ImmersionGameTooltip3TextLeft1 {
 }
 BottomOverlay = <unnamed> {
 }
 Icon = <unnamed> {
 }
 textRight1Font = "GameTooltipHeaderText"
 NineSlice = <unnamed> {
 }
 TextRight1 = ImmersionGameTooltip3TextRight1 {
 }
 TextRight2 = ImmersionGameTooltip3TextRight2 {
 }
 TextLeft2 = ImmersionGameTooltip3TextLeft2 {
 }
 TopOverlay = <unnamed> {
 }
 shoppingTooltips = <table> {
 }
 Button = <unnamed> {
 }
 textRight2Font = "GameTooltipText"
 Hilite = <unnamed> {
 }
 textLeft2Font = "GameTooltipText"
 textLeft1Font = "GameTooltipHeaderText"
}
(*temporary) = nil
(*temporary) = ImmersionGameTooltip3 {
 0 = <userdata>
 layoutType = "TooltipDefaultLayout"
 TextLeft1 = ImmersionGameTooltip3TextLeft1 {
 }
 BottomOverlay = <unnamed> {
 }
 Icon = <unnamed> {
 }
 textRight1Font = "GameTooltipHeaderText"
 NineSlice = <unnamed> {
 }
 TextRight1 = ImmersionGameTooltip3TextRight1 {
 }
 TextRight2 = ImmersionGameTooltip3TextRight2 {
 }
 TextLeft2 = ImmersionGameTooltip3TextLeft2 {
 }
 TopOverlay = <unnamed> {
 }
 shoppingTooltips = <table> {
 }
 Button = <unnamed> {
 }
 textRight2Font = "GameTooltipText"
 Hilite = <unnamed> {
 }
 textLeft2Font = "GameTooltipText"
 textLeft1Font = "GameTooltipHeaderText"
}
(*temporary) = 1
(*temporary) = 1
(*temporary) = 1
(*temporary) = "attempt to call method 'SetBackdropBorderColor' (a nil value)"
brittyazel commented 2 years ago

I'm happy to fix this bug myself. Are you open to pull requests?

brittyazel commented 2 years ago

Seems fixed with today's release