TellMeWhen

TellMeWhen

24M Downloads

"GetParent" method error while trying to edit Text Display

BloodyFess opened this issue ยท 0 comments

commented

WoW Version

Retail

TellMeWhen Version

11.0.7

Describe the bug

Got error while try to edit "Text Displays" fields through "Copy" string for example: [(Value / ValueMax * 100):Round:Percent]

Message: ...n/Components/IconModules/IconModule_Texts/Config.lua:651: attempt to call method 'GetParent' (a nil value) Time: Sun Sep 8 12:21:45 2024 Count: 4 Stack: ...n/Components/IconModules/IconModule_Texts/Config.lua:651: attempt to call method 'GetParent' (a nil value) [string "@Interface/AddOns/TellMeWhen/Components/IconModules/IconModule_Texts/Config.lua"]:651: in function func'
[string "@Interface/AddOns/TellMeWhen/Options/TMWUIDropDownMenu.lua"]:473: in function `Button_OnClick'
[string "*TMWUIDropDownMenuTemplates.xml:83_OnClick"]:1: in function <[string "*TMWUIDropDownMenuTemplates.xml:83_OnClick"]:1>

Locals: button = Button {
tooltipWrap = false
Highlight = Texture {
}
notCheckable = true
InvisibleButton = Button {
}
listFrame = TMWDropDownsList1 {
}
arg1 =

{
}
Check = Texture {
}
tooltipText = "[Spell] [Stacks:Hide(0):Paren]"
UnCheck = Texture {
}
value = "[Spell] [Stacks:Hide(0):Paren]"
ExpandArrow = Texture {
}
Icon = Texture {
}
tooltipTitle = "Used 2 |4time:times;."
}
dropdown =
{
scrollable = true
wrapTooltips = true
}
(*temporary) = nil
(*temporary) =
{
scrollable = true
wrapTooltips = true
}
(*temporary) = "attempt to call method 'GetParent' (a nil value)"
CI =
{
icon = TellMeWhen_Group19_Icon2 {
}
group = TellMeWhen_Group19 {
}
}
`

Export Strings

N/A

P.S. But I can manually write this string "[(Value / ValueMax * 100):Round:Percent]" and all work.