Cell - Unit Frames

Cell - Unit Frames

343k Downloads

[Bug] Lua error while importing colors

Closed this issue ยท 0 comments

commented

Addon Version

1.4.69

World of Warcraft Version

Retail

Localization

English

Describe the bug

Lua error while importing colors profile

Steps to reproduce

  1. Go to Colors tab
  2. Export settings
  3. Import the just exported string

8x Cell_UnitFrames/Menu/ColorTab.lua:201: attempt to call method 'SetSelected' (a nil value)
[Cell_UnitFrames/Menu/ColorTab.lua]:201: in function 'UpdateColors'
[Cell_UnitFrames/Menu/ColorTab.lua]:31: in function <Cell_UnitFrames/Menu/ColorTab.lua:28>
[Cell_UnitFrames/Menu/ImportExport.lua]:90: in function <Cell_UnitFrames/Menu/ImportExport.lua:89>
[Cell/Widgets/Widgets.lua]:1855: in function <Cell/Widgets/Widgets.lua:1854>

Locals:
self =

{
colorSection = CUF_Menu_ColorSection {
}
init = true
paneHeight = 17
window = CUF_Menu_Color {
}
colorSections =
{
}
importExportFrame = CUF_ImportExport {
}
importExportSection = Frame {
}
sectionsHeight = 2037.400062
id = "colorTab"
}
(for state) =
{
1 = CUF_Menu_ColorSection_Runes {
}
2 = CUF_Menu_ColorSection_ShieldBar {
}
3 = CUF_Menu_ColorSection_Highlight {
}
4 = CUF_Menu_ColorSection_Essence {
}
5 = CUF_Menu_ColorSection_HealPrediction {
}
6 = CUF_Menu_ColorSection_Chi {
}
7 = CUF_Menu_ColorSection_CastBar {
}
8 = CUF_Menu_ColorSection_Reaction {
}
9 = CUF_Menu_ColorSection_ClassBar {
}
10 = CUF_Menu_ColorSection_UnitFrames {
}
11 = CUF_Menu_ColorSection_HealAbsorb {
}
12 = CUF_Menu_ColorSection_ComboPoints {
}
13 = CUF_Menu_ColorSection_ClassResources {
}
}
(for control) = 2
_ = 2
section = CUF_Menu_ColorSection_ShieldBar {
dropdowns =
{
}
cps =
{
}
id = "shieldBar"
BottomEdge = Texture {
}
height = 1
width = 430.000122
Center = Texture {
}
RightEdge = Texture {
}
backdropInfo =
{
}
BottomLeftCorner = Texture {
}
BottomRightCorner = Texture {
}
TopEdge = Texture {
}
TopRightCorner = Texture {
}
TopLeftCorner = Texture {
}
LeftEdge = Texture {
}
}
colorTable =
{
overlayTexture = "Interface\RaidFrame\Shield-Overlay"
shieldTexture = "Interface\AddOns\Cell\Media\shield"
overshieldReverseOffset = 0
overshieldColor =
{
}
overshieldSize = 4
shieldColor =
{
}
overshieldTexture = "Interface\AddOns\Cell\Media\overshield"
overlayColor =
{
}
overshieldOffset = 4
useOverlay = false
}
(for state) =
{
1 = Frame {
}
2 = Frame {
}
3 = Frame {
}
4 = Slider {
}
5 = Slider {
}
6 = Slider {
}
}
(for control) = 4
_ = 4
dropdown = Slider {
BottomLeftCorner = Texture {
}
high = 100
lowText = FontString {
}
highText = FontString {
}
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
low = 0
height = 10
currentEditBox = EditBox {
}
backdropInfo =
{
}
TopRightCorner = Texture {
}
type = "slider"
id = "overshieldOffset"
TopEdge = Texture {
}
BottomEdge = Texture {
}
width = 200
Center = Texture {
}
LeftEdge = Texture {
}
BottomRightCorner = Texture {
}
}
(*temporary) = nil
(*temporary) = Slider {
BottomLeftCorner = Texture {
}
high = 100
lowText = FontString {
}
highText = FontString {
}
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
low = 0
height = 10
currentEditBox = EditBox {
}
backdropInfo =
{
}
TopRightCorner = Texture {
}
type = "slider"
id = "overshieldOffset"
TopEdge = Texture {
}
BottomEdge = Texture {
}
width = 200
Center = Texture {
}
LeftEdge = Texture {
}
BottomRightCorner = Texture {
}
}
(*temporary) = nil
(*temporary) = 4
(*temporary) = "attempt to call method 'SetSelected' (a nil value)"
DB =
{
PropsToOnlyInit =
{
}
}
Util =
{
textureToName =
{
}
}

BugSack