WeakAuras

WeakAuras

208M Downloads

Weapon type trigger checkboxes not working

nullValueReturned opened this issue ยท 5 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

The boxes that you're supposed to check for weapon type do not work and generate LUA errors when you click them
image

WeakAuras Version

5.17.2

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

EU

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

6x WeakAurasOptions/LoadOptions.lua:984: attempt to index field '?' (a nil value)
[string "@WeakAurasOptions/LoadOptions.lua"]:984: in function <WeakAurasOptions/LoadOptions.lua:979>
[string "=[C]"]: ?
[string "@Masque/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[string "@Masque/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:839: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:661>
[string "@Masque/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:897: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:896>
[string "=[C]"]: ?
[string "@Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <Ace3/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@Ace3/AceGUI-3.0-41/widgets/AceGUIWidget-CheckBox.lua"]:64: in function <...ns/Ace3/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua:53>

Locals:
info = <table> {
 1 = "trigger.1.Item Type Equipped.multiselect_itemTypeName"
 uiType = "dialog"
 type = "multiselect"
 options = <table> {
 }
 option = <table> {
 }
 uiName = "AceConfigDialog-3.0"
 appName = "WeakAuras"
}
v = 515
calledFromSetAll = true
(temporary) = nil
(temporary) = nil
(temporary) = "itemTypeName"
(temporary) = "attempt to index field '?' (a nil value)"
arg = <table> {
 multiNoSingle = true
 type = "multiselect"
 name = "itemTypeName"
 display = "Item Type"
 test = "Private.ExecEnv.IsEquippedItemType(%s, itemSlot)"
 required = true
 values = "item_weapon_types"
}
trigger = <table> {
 type = "item"
 use_itemTypeName = false
 subeventSuffix = "_CAST_START"
 names = <table> {
 }
 use_genericShowOn = true
 event = "Item Type Equipped"
 unit = "player"
 use_itemSlot = true
 itemSlot = 8
 spellIds = <table> {
 }
 subeventPrefix = "SPELL"
 genericShowOn = "showOnCooldown"
 use_itemName = true
 debuffType = "HELPFUL"
}
realname = "itemTypeName"
data = <table> {
 iconSource = -1
 color = <table> {
 }
 adjustedMax = ""
 adjustedMin = ""
 yOffset = 0
 anchorPoint = "CENTER"
 cooldownSwipe = true
 cooldownEdge = false
 icon = true
 triggers = <table> {
 }
 internalVersion = 78
 progressSource = <table> {
 }
 selfPoint = "CENTER"
 desaturate = false
 subRegions = <table> {
 }
 height = 64
 load = <table> {
 }
 useAdjustededMax = false
 useAdjustededMin = false
 regionType = "icon"
 cooldown = true
 animation = <table> {
 }
 actions = <table> {
 }
 xOffset = 0
 authorOptions = <table> {
 }
 zoom = 0
 frameStrata = 1
 config = <table> {
 }
 id = "Swap weapon"
 anchorFrameType = "SCREEN"
 alpha = 1
 width = 64
 useCooldownModRate = true
 uid = "LcfwzvSZFBk"
 inverse = false
 cooldownTextDisabled = false
 conditions = <table> {
 }
 information = <table> {
 }
 keepAspectRatio = false
}
reloadOptions = false
OptionsPrivate = <table> {
 expanderAnchors = <table> {
 }
 savedVars = <table> {
 }
 commonOptionsCache = <table> {
 }
 registerRegions = <table> {
 }
 expanderButtons = <table> {
 }
 Private = <table> {
 }
 commonOptions = <table> {
 }
 currentDynamicTextInput = false
 tempGroup = <table> {
 }
 displayButtons = <table> {
 }
}

Reproduction Steps

create a WA with trigger item => item type equiped .
The check boxes are not clickable and generate errors when clicked

Last Good Version

No response

Screenshots

No response

Export String

No response

Bisector Report

No response

commented

Are you sure you tested this with all other addons disabled?

Yes. I turned off all but WA, and had a friend test as well (he had other addons though).
Are you not able to recreate?

commented

stacktrace and screenshot show that other addons are involved. its important to have an error with only weakauras and bugsack/grabber enabled.

commented

I can reproduce it, so it'll be fixed.

commented

stacktrace and screenshot show that other addons are involved. its important to have an error with only weakauras and bugsack/grabber enabled.

Yeah. Didn't think of that. I did reproduce without other addons, but SS and error is from when i had addons on. I'll keep that in mind should i encounter another bug in the future

I can reproduce it, so it'll be fixed.

awesome

commented

Are you sure you tested this with all other addons disabled?