
[Bug] Lua error when moving things with blizzard's edit mode
Closed this issue · 7 comments
Addon Version
1.4.54
World of Warcraft Version
Retail
Localization
English
Describe the bug
When using edit mode after I save changes 1 time the lua error appears and I can't save changes anymore until I reload. Sometimes it doesn't work even if it's the first time.
Steps to reproduce
- Have cell_unitframes active
- Move something with edit mode and save
- Try to move something with edit mode again
BugSack
1x [ADDON_ACTION_BLOCKED] AddOn 'Cell' tried to call the protected function 'CompactRaidFrameContainer:HideBase()'.
[!BugGrabber/BugGrabber.lua]:485: in function <!BugGrabber/BugGrabber.lua:485>
[C]: in function 'HideBase'
[Blizzard_EditMode/Mainline/EditModeSystemTemplates.lua]:162: in function <...izzard_EditMode/Mainline/EditModeSystemTemplates.lua:157>
[C]: in function 'Show'
[Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameManager.lua]:889: in function 'CompactRaidFrameManager_UpdateContainerVisibility'
[Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameManager.lua]:863: in function <...mpactRaidFrames/Blizzard_CompactRaidFrameManager.lua:855>
[Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameManager.lua]:880: in function <...mpactRaidFrames/Blizzard_CompactRaidFrameManager.lua:866>
[C]: in function 'CompactRaidFrameManager_SetSetting'
[Blizzard_EditMode/Mainline/EditModeManager.lua]:1863: in function 'RefreshRaidFrames'
[Blizzard_EditMode/Mainline/EditModeManager.lua]:1719: in function 'OnEditModeEnter'
[Blizzard_EditMode/Mainline/EditModeManager.lua]:88: in function 'EnterEditMode'
[Blizzard_EditMode/Mainline/EditModeManager.lua]:113: in function <...ddOns/Blizzard_EditMode/Mainline/EditModeManager.lua:111>
[C]: in function 'Show'
[Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua]:493: in function 'SetUIPanel'
[Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua]:295: in function 'ShowUIPanel'
[Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua]:174: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:169>
[C]: in function 'SetAttribute'
[Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua]:893: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:871>
[tail call]: ?
[Blizzard_GameMenu/Standard/GameMenuFrame.lua]:68: in function <Blizzard_GameMenu/Standard/GameMenuFrame.lua:65>
Locals:
_ = Frame {
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
}
483x ...izzard_EditMode/Mainline/EditModeSystemTemplates.lua:560: attempt to perform arithmetic on local 'left' (a nil value)
[Blizzard_EditMode/Mainline/EditModeSystemTemplates.lua]:560: in function 'GetScaledSelectionSides'
[Blizzard_EditMode/Mainline/EditModeSystemTemplates.lua]:532: in function 'IsVerticallyAlignedWithFrame'
[Blizzard_EditMode/Mainline/EditModeSystemTemplates.lua]:755: in function 'GetFrameMagneticEligibility'
[Blizzard_EditMode/Mainline/EditModeUtil.lua]:152: in function 'GetEligibleMagneticFrames'
[Blizzard_EditMode/Mainline/EditModeUtil.lua]:341: in function 'GetMagneticFrameInfoOptions'
[Blizzard_EditMode/Mainline/EditModeUtil.lua]:424: in function 'GetMagneticFrameInfos'
[Blizzard_EditMode/Mainline/EditModeManager.lua]:967: in function 'RefreshSnapPreviewLines'
[Blizzard_EditMode/Mainline/EditModeManager.lua]:72: in function <...ddOns/Blizzard_EditMode/Mainline/EditModeManager.lua:70>
Locals:
self = BossTargetFrameContainer {
systemInfo = <table> {
}
downKeys = <table> {
}
smallSize = true
spacing = 10
alwaysUseTopRightAnchor = true
isManagedFrame = true
hasActiveChanges = false
dirty = false
isHighlighted = true
systemIndex = 6
isInEditMode = true
snappedFrames = <table> {
}
ignoreFramePositionManager = true
isRightManagedFrame = true
layoutParent = UIParentRightManagedFrameContainer {
}
savedSystemInfo = <table> {
}
systemNameString = "Boss Frames"
isSelected = false
castBarOnSide = true
dirtySettings = <table> {
}
settingMap = <table> {
}
settingDisplayInfoMap = <table> {
}
settingsDialogAnchor = <table> {
}
BossTargetFrames = <table> {
}
hideWhenActionBarIsOverriden = false
Selection = Frame {
}
respectChildScale = true
layoutIndex = 4
align = "right"
breakSnappedFramesOnSave = true
defaultHideSelection = true
system = 3
rightPadding = -70
}
left = nil
bottom = nil
width = nil
height = nil
scale = 1
(*temporary) = BossTargetFrameContainer {
systemInfo = <table> {
}
downKeys = <table> {
}
smallSize = true
spacing = 10
alwaysUseTopRightAnchor = true
isManagedFrame = true
hasActiveChanges = false
dirty = false
isHighlighted = true
systemIndex = 6
isInEditMode = true
snappedFrames = <table> {
}
ignoreFramePositionManager = true
isRightManagedFrame = true
layoutParent = UIParentRightManagedFrameContainer {
}
savedSystemInfo = <table> {
}
systemNameString = "Boss Frames"
isSelected = false
castBarOnSide = true
dirtySettings = <table> {
}
settingMap = <table> {
}
settingDisplayInfoMap = <table> {
}
settingsDialogAnchor = <table> {
}
BossTargetFrames = <table> {
}
hideWhenActionBarIsOverriden = false
Selection = Frame {
}
respectChildScale = true
layoutIndex = 4
align = "right"
breakSnappedFramesOnSave = true
defaultHideSelection = true
system = 3
rightPadding = -70
}
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'left' (a nil value)"
And this doesn't happen if you disable CUF and only have Cell loaded?
Yes, it doesn't happen if I have only cell loaded
I'm having trouble replicating this, send me you Edit Mode export and show me which Blizzard Frames you have hidden in both Cell and CUF.
I'm having trouble replicating this, send me you Edit Mode export and show me which Blizzard Frames you have hidden in both Cell and CUF.
If I uncheck the option "snap to elements" the lua error doesn't happen anymore.
Edit mode export:
1 39 0 0 0 7 7 UIParent -0.4 38.5 -1 ##$$%/&%'%)$+$,$ 0 1 0 6 8 ChatFrame1 29.0 -32.0 -1 ##$$%/&%'%(#,$ 0 2 0 0 2 MultiBarBottomLeft 4.0 0.0 -1 ##$$%/&%'%(#,$ 0 3 0 0 2 MultiBarBottomRight 4.0 0.0 -1 ##$$%/&%'%(#,$ 0 4 1 5 5 UIParent -5.0 -77.0 -1 #$$$%/&&'%(#,$ 0 5 0 8 6 MultiBarLeft -4.0 0.0 -1 #$$$%/&&'%(#,$ 0 6 1 1 4 UIParent 0.0 -50.0 -1 ##$$%/&('%(#,$ 0 7 1 1 4 UIParent 0.0 -100.0 -1 ##$$%/&('%(#,$ 0 10 0 7 7 UIParent -297.0 147.0 -1 ##$$&('% 0 11 0 7 7 UIParent -296.0 113.0 -1 ##$$&('%,# 0 12 1 7 7 UIParent 0.0 45.0 -1 ##$$&('% 1 -1 0 4 4 UIParent 0.0 -314.0 -1 #&$#%$ 2 -1 1 2 2 UIParent 0.0 0.0 -1 ##$#%( 3 0 0 3 3 UIParent 406.6 -234.5 -1 $#3( 3 1 0 5 5 UIParent -401.0 -224.0 -1 %#3# 3 2 0 7 7 UIParent 420.0 218.0 -1 %## 3 3 1 0 2 CompactRaidFrameManager 0.0 -7.0 -1 '#(#)#-#.#/#1$3# 3 4 0 0 0 UIParent 20.0 -161.0 -1 ,#-#.#/#0#1#2( 3 5 0 2 2 UIParent -217.3 -324.1 -1 &#*$3# 3 6 1 5 5 UIParent 0.0 0.0 -1 -#.#/#4$ 3 7 1 4 4 UIParent 0.0 0.0 -1 3# 4 -1 0 4 4 UIParent 0.0 369.7 -1 # 5 -1 1 7 7 UIParent 0.0 45.0 -1 # 6 0 0 2 2 UIParent -267.0 -14.0 -1 ##$#%#&.(()( 6 1 0 2 8 BuffFrame 0.0 -4.0 -1 ##$#%#'+(()( 7 -1 1 7 7 UIParent 0.0 45.0 -1 # 8 -1 0 6 6 UIParent 12.0 34.0 -1 #&$@%$&s 9 -1 1 7 7 UIParent 0.0 45.0 -1 # 10 -1 1 0 0 UIParent 16.0 -116.0 -1 # 11 -1 1 8 8 UIParent -9.0 85.0 -1 # 12 -1 0 8 8 UIParent -90.8 32.5 -1 #J$#%# 13 -1 0 3 3 UIParent 2.0 -284.3 -1 ##$#%)&- 14 -1 0 5 5 UIParent -2.0 -517.3 -1 ##$#%( 15 0 0 1 1 UIParent 0.0 -2.0 -1 # 15 1 0 0 6 MainStatusTrackingBarContainer 0.0 -4.0 -1 # 16 -1 1 5 5 UIParent 0.0 0.0 -1 #( 17 -1 1 1 1 UIParent 0.0 -100.0 -1 ## 18 -1 1 5 5 UIParent 0.0 0.0 -1 #- 19 -1 1 7 7 UIParent 0.0 0.0 -1 ##
Blizzard frames: