[CF 1273] Error When Leaving Drop Down Menu Open
tmw-issue-import opened this issue ยท 0 comments
Works with blank group
What steps will reproduce the problem?
1. Reload UI
2. Select Any Icon
3. Go To Conditions Tab
4. Click To Add A New Condition
5. Choose Type Resources > Health Percent
6. Click the health percent you just created as if you were going to change it to something else. Mouse over a new condition like Spells / Items > Spell Cast but DO NOT click it.
7. With the drop down menu still open delete the condition you just created.
What do you expect to happen? What happens instead?
Works fine however an error occurs. Sometimes there are 2 errors but I was unable to reproduce the second error. Occasionally you get disconnected.
What version of TellMeWhen are you using? ("The latest" is not a version)
v8.1.2 r11 (gda0f7f2)
Do you have an error log of what happened?
Message: ...Ons\TellMeWhen\Components\Core\Conditions\Config.lua:286: attempt to index local 'conditionSettings' (a boolean value)
Time: 08/15/16 10:13:48
Count: 3
Stack: ...Ons\TellMeWhen\Components\Core\Conditions\Config.lua:286: in function `initFunction'
...face\AddOns\TellMeWhen\Options\TMWUIDropDownMenu.lua:103: in function `Initialize'
...face\AddOns\TellMeWhen\Options\TMWUIDropDownMenu.lua:616: in function `Toggle'
[string "*:OnEnter"]:5: in function <[string "*:OnEnter"]:1>
Locals: dropdown = <unnamed> {
0 = <userdata>
__title = "Health - Percent"
Text = <unnamed> {
}
tmwClass = "Config_DropDownMenu"
__CScripts = <table> {
}
border = <unnamed> {
}
EditBox = <unnamed> {
}
wrapTooltips = true
__ttHooked = 1
initialize = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Conditions\Config.lua:233
scrollable = true
Background = <unnamed> {
}
Icon = <unnamed> {
}
Button = <unnamed> {
}
}
categoryData = <table> {
identifier = "LOCATION"
spaceBefore = false
order = 1.5
spaceAfter = true
name = "Group and Location"
conditionData = <table> {
}
}
queueSpacer = nil
hasAddedOneCondition = nil
lastButtonWasSpacer = nil
conditionSettings = false
CurrentConditionSet = <table> {
identifier = "Icon"
iterArgs = <table> {
}
GetTab = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Icon.lua:77
parentDefaults = <table> {
}
iterFunc = <function> defined @interface\AddOns\TellMeWhen\TellMeWhen.lua:881
GetSettings = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Icon.lua:66
settingKey = "Conditions"
tabTooltip = "Configure conditions that allow you to fine-tune when this icon is shown."
parentSettingType = "icon"
tabText = "Conditions"
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
5 = <table> {
}
6 = <table> {
}
7 = <table> {
}
8 = <table> {
}
}
(for control) = 1
k = 1
conditionData = <table> {
category = <table> {
}
identifier = "INSTANCE2"
noslide = true
funcstr = "BITFLAGSMAPANDCHECK( GetZoneType2() )"
order = 1
text = "Instance Type"
nooperator = true
unit = false
formatter = <table> {
}
events = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Conditions\Categories\Location.lua:168
tcoords = <table> {
}
bitFlags = <table> {
}
Env = <table> {
}
bitFlagTitle = "Choose Types..."
icon = "Interface\Icons\Spell_Frost_Stun"
tooltip = "Checks the type of instance that you are in, including the difficulty setting of any dungeon or raid."
}
(*temporary) = "INSTANCE2"
(*temporary) = 1
(*temporary) = <table> {
category = <table> {
}
identifier = "INSTANCE2"
noslide = true
funcstr = "BITFLAGSMAPANDCHECK( GetZoneType2() )"
order = 1
text = "Instance Type"
nooperator = true
unit = false
formatter = <table> {
}
events = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Conditions\Categories\Location.lua:168
tcoords = <table> {
}
bitFlags = <table> {
}
Env = <table> {
}
bitFlagTitle = "Choose Types..."
icon = "Interface\Icons\Spell_Frost_Stun"
tooltip = "Checks the type of instance that you are in, including the difficulty setting of any dungeon or raid."
}
(*temporary) = TellMeWhen_IconEditorConditionsGroupsGroup1 {
0 = <userdata>
Check2 = <unnamed> {
}
CloseParenthesis = <unnamed> {
}
Unknown = <unnamed> {
}
ValText = <unnamed> {
}
Unit = <unnamed> {
}
BitFlagsCheck = <unnamed> {
}
prevRowFrame = <unnamed> {
}
minAdjustHeight = 68
BitFlags = <unnamed> {
}
OpenParenthesis = <unnamed> {
}
Background = <unnamed> {
}
Icon = <unnamed> {
}
BitFlagsSelectedText = <unnamed> {
}
adjustHeightExclusions = <table> {
}
Type = <unnamed> {
}
SliderMid = <unnamed> {
}
EditBox2 = <unnamed> {
}
Deprecated = <unnamed> {
}
__CScripts = <table> {
}
TextUnitDef = <unnamed> {
}
EditBox = <unnamed> {
}
Operator = <unnamed> {
}
Up = <unnamed> {
}
DeleteButton = <unnamed> {
Please provide any additional information below (including any export strings if applicable; see above.)
Works with blank group
Posted by CurseForge user LordEos | Imported from CurseForge issue #1273 | Raw