Skip to content

Lua error in icon indicator with master-looter, raid-assistant, and leader statuses #348

@AlexFolland

Description

@AlexFolland

I have an icon indicator called icon-top-left-right-right where I have 3 statuses: master-looter, raid-assistant, and leader. I received this lua error inside solo shuffle on my bm hunter, but I'm not sure exactly when. Looks like it happened 6 times, which may correspond to the 6 rounds of solo shuffle. Looks like it happened specifically on unit raidpet1, which I think was my pet.

6x Grid2/GridIndicator.lua:163: attempt to perform boolean test on local 'state' (a secret value)
[Grid2/GridIndicator.lua]:163: in function 'GetCurrentStatus'
[Grid2/GridIndicator.lua]:106: in function 'Update'
[Grid2/GridFrame.lua]:195: in function 'UpdateIndicators'
[Grid2/GridFrame.lua]:89: in function <Grid2/GridFrame.lua:81>
[C]: in function 'SetAttribute'
[Blizzard_RestrictedAddOnEnvironment/SecureGroupHeaders.lua]:210: in function <...rd_RestrictedAddOnEnvironment/SecureGroupHeaders.lua:130>
[Blizzard_RestrictedAddOnEnvironment/SecureGroupHeaders.lua]:630: in function 'SecureGroupPetHeader_Update'
[Blizzard_RestrictedAddOnEnvironment/SecureGroupHeaders.lua]:514: in function <...rd_RestrictedAddOnEnvironment/SecureGroupHeaders.lua:512>

Locals:
self = <table> {
 framesCreated = true
 anchorRel = "TOPLEFT"
 textPoint = "CENTER"
 fontSize = 8
 color = <table> {
 }
 textOffsetX = 0
 ctColor = <table> {
 }
 showSwipe = true
 priorities = <table> {
 }
 offsety = 0
 anchor = "TOPLEFT"
 backdrop = <table> {
 }
 dbx = <table> {
 }
 iconSize = 8
 ctFontFlags = "OUTLINE"
 frameLevel = 8
 statuses = <table> {
 }
 prototype = <table> {
 }
 ctFont = "Fonts\FRIZQT__.TTF"
 textfont = "Fonts\FRIZQT__.TTF"
 ctFontSize = 9
 name = "icon-top-left-right-right"
 textOffsetY = 0
 offsetx = 16
}
unit = "raidpet1"
statuses = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
}
(for index) = 3
(for limit) = 3
(for step) = 1
i = 3
status = <table> {
 indicators = <table> {
 }
 priorities = <table> {
 }
 dbx = <table> {
 }
 enabled = true
 name = "leader"
}
state = <no value>
(*temporary) = <table> {
 indicators = <table> {
 }
 priorities = <table> {
 }
 dbx = <table> {
 }
 enabled = true
 name = "leader"
}
(*temporary) = "raidpet1"
(*temporary) = "attempt to perform boolean test on local 'state' (a secret value)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions