WeakAuras

WeakAuras

206M Downloads

Error when grouping and ungrouping auras

Nightwarden24 opened this issue ยท 0 comments

commented

Describe the bug

Putting aura in a group or removing it from a group causes an error (a nil value). This is true for both group and dynamic group.

Do you have an error log of what happened?

1x ...dOns\WeakAurasOptions\OptionsFrames\OptionsFrame.lua:788: attempt to index local 'data' (a nil value)
[string "@WeakAurasOptions\OptionsFrames\OptionsFrame.lua"]:788: in function `UpdateOptions'
[string "@WeakAurasOptions\OptionsFrames\OptionsFrame.lua"]:833: in function `FillOptions'
[string "@WeakAurasOptions\WeakAurasOptions-2.17.12-7-ga3a028b5.lua"]:722: in function `FillOptions'
[string "@WeakAurasOptions\AceGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua"]:629: in function <...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:594>

Locals:
self = WeakAurasOptions {
 0 = <userdata>
 ClearAndUpdateOptions = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:755
 CenterOnPicked = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:1130
 window = "default"
 toolbarContainer = <table> {
 }
 ClearOptions = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:740
 modelPicker = <table> {
 }
 EnsureOptions = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:804
 PickDisplayMultiple = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:1146
 container = <table> {
 }
 loadProgress = <unnamed> {
 }
 texteditor = <table> {
 }
 importThumbnail = <unnamed> {
 }
 moversizer = <unnamed> {
 }
 pickedOption = "New"
 GetSubOptions = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:800
 ClearPick = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:879
 SetLoadProgressVisible = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:547
 FillOptions = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:832
 filterInputClear = <unnamed> {
 }
 loadProgessVisible = false
 filterInput = WeakAurasFilterInput {
 }
 iconPicker = <table> {
 }
 buttonsScroll = <table> {
 }
 PickDisplayBatch = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:1170
 buttonsContainer = <table> {
 }
 UpdateFrameVisible = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:281
 PickDisplay = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:1078
 mover = <unnamed> {
 }
 texturePicker = <table> {
 }
 PickOption = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:1052
 NewAura = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:928
 UpdateOptions = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:779
 codereview = <table> {
 }
 loadedButton = <table> {
 }
 ClearPicks = <function> defined @WeakAurasOptions\OptionsFrames\OptionsFrame.lua:895
 importexport = <table> {
 }
 selectedTab = "trigger"
 unloadedButton = <table> {
 }
}
data = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "nil"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'data' (a nil value)"
type = <function> defined =[C]:-1
WeakAuras = <table> {
 SetAuraVisibility = <function> defined @WeakAuras\BuffTrigger.lua:296
 ClearAndUpdateOptions = <function> defined @WeakAurasOptions\WeakAurasOptions.lua:713
 CheckItemSlotCooldowns = <function> defined @WeakAuras\GenericTrigger.lua:2394
 OpenIconPicker = <function> defined @WeakAurasOptions\WeakAurasOptions.lua:1259
 IsEnvironmentInitialized = <function> defined @WeakAuras\AuraEnvironment.lua:198
 duration_types = <table> {
 }
 CleanArchive = <function> defined @WeakAuras\History.lua:22
 SafeToNumber = <function> defined @WeakAuras\WeakAuras.lua:7485
 tutorials = <table> {
 }
 pet_spec_types = <table> {
 }
 ReplaceLocalizedRaidMarkers = <function> defined @WeakAuras\WeakAuras.lua:7523
 author_option_classes = <table> {
 }
 animations = <table> {
 }
 TenchInit = <function> defined @WeakAuras\GenericTrigger.lua:3173
 regionTypes = <table> {
 }
 absorb_modes = <table> {
 }
 StopProfile = <function> defined @WeakAuras\Profiling.lua:340
 miss_types = <table> {
 }
 faction_group = <table> {
 }
 OpenOptions = <function> defined @WeakAuras\WeakAuras.lua:81
 autoeventend_types = <table> {
 }
 talent_types = <table> {
 }
 EJIcons = <table> {
 }
 SetModel = <function> defined @WeakAuras\WeakAuras.lua:7457
 reset_swing_spells = <table> {
 }
 spec_types_all = <ta

To Reproduce

Steps to reproduce the behavior:
Link to a gif

Important note. To reproduce the bug, any element (aura or group) shouldn't be selected (highlighted) before performing the action. Otherwise it's not always possible to detect it. For example, if a group is selected, the error may occur when grouping aura, but not when ungrouping.

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Addons are disabled during testing.

Which version of WeakAuras are you using?
2.17.12-7-ga3a028b5

Are you on World of Warcraft Classic or Retail?

  • Retail

Was it working in a previous version? If yes, which was the last good one?
In at least 2.17.12 version