Mythic Dungeon Tools - MDT

Mythic Dungeon Tools - MDT

77M Downloads

Deleting pull 1 if it's the only pull in the list gives an error -- Leads to major issue done on the default profile

Xyxeii opened this issue ยท 0 comments

commented

As the title says. If pull 1 is the last pull in the list and then gets deleted, it returns an error. Doing this with mobs assigned can also lead to further errors. I caused this error on my default profile for Upper Kara, and now the whole preset is bugged and can't be deleted. Assuming I'll need to clear my saved variables for that default.

3x ...aceMethodDungeonTools\MethodDungeonTools-1.lua:2250: attempt to index field '?' (a nil value)
...aceMethodDungeonTools\MethodDungeonTools-1.lua:2250: in function PickPullButton' ...aceMethodDungeonTools\MethodDungeonTools-1.lua:2137: in function SetSelectionToPull'
...aceMethodDungeonTools\MethodDungeonTools-1.lua:2296: in function DeletePull' ...nTools\AceGUIWidget-MethodDungeonToolsPullButton.lua:82: in function func'
...onTools\libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:814: in function `L_UIDropDownMenuButton_OnClick'
[string ":OnClick"]:1: in function <[string ":OnClick"]:1>

Locals:
self =

{
ClearPull = defined @MethodDungeonTools\MethodDungeonTools.lua:2263
UpdateEnemyBlipSelection = defined @MethodDungeonTools\MethodDungeonTools.lua:846
MakeMapTexture = defined @MethodDungeonTools\MethodDungeonTools.lua:965
OpenNewPresetDialog = defined @MethodDungeonTools\MethodDungeonTools.lua:1700
MakeRenameFrame = defined @MethodDungeonTools\MethodDungeonTools.lua:2309
ToggleDevMode = defined @MethodDungeonTools\MethodDungeonTools.lua:393
CreateDungeonSelectDropdown = defined @MethodDungeonTools\MethodDungeonTools.lua:1760
PresetsDeletePull = defined @MethodDungeonTools\MethodDungeonTools.lua:2076
dungeonMaps =
{
}
CreateDungeonPresetDropdown = defined @MethodDungeonTools\MethodDungeonTools.lua:1734
AddPull = defined @MethodDungeonTools\MethodDungeonTools.lua:2255
MovePullUp = defined @MethodDungeonTools\MethodDungeonTools.lua:2271
main_frame = MethodDungeonToolsFrame {
}
StringToTable = defined @MethodDungeonTools\Transmission.lua:104
PresetsSwapPulls = defined @MethodDungeonTools\MethodDungeonTools.lua:2084
SanitizePresetName = defined @MethodDungeonTools\MethodDungeonTools.lua:1910
PickPullButton = defined @MethodDungeonTools\MethodDungeonTools.lua:2247
HideInterface = defined @MethodDungeonTools\MethodDungeonTools.lua:389
CreateTutorialButton = defined @MethodDungeonTools\MethodDungeonTools.lua:2425
MakeDeleteConfirmationFrame = defined @MethodDungeonTools\MethodDungeonTools.lua:2388
MakeExportFrame = defined @MethodDungeonTools\MethodDungeonTools.lua:2360
dungeonBosses =
{
}
CalculateEnemyHealth = defined @MethodDungeonTools\MethodDungeonTools.lua:1454
ShowInterface = defined @MethodDungeonTools\MethodDungeonTools.lua:377
MakeSidePanel = defined @MethodDungeonTools\MethodDungeonTools.lua:493
RenamePreset = defined @MethodDungeonTools\MethodDungeonTools.lua:2301
DeletePreset = defined @MethodDungeonTools\MethodDungeonTools.lua:1874
DeletePull = defined @MethodDungeonTools\MethodDungeonTools.lua:2287
MovePullDown = defined @MethodDungeonTools\MethodDungeonTools.lua:2279
dungeonTotalCount =
{
}
ADDON_LOADED = defined @MethodDungeonTools\MethodDungeonTools.lua:148
UpdateDungeonEnemies = defined @MethodDungeonTools\MethodDungeonTools.lua:1525
contextMenuList =
{
}
MakePresetCreationFrame = defined @MethodDungeonTools\MethodDungeonTools.lua:1925
DisplayEncounterInformation = defined @MethodDungeonTools\MethodDungeonTools.lua:1474
dungeonEnemies =
{
}
UpdateSidePanelCheckBoxes = defined @MethodDungeonTools\MethodDungeonTools.lua:1720
UpdateEnemiesSelected = defined @MethodDungeonTools\MethodDungeonTools.lua:743
FormatEnemyHealth = defined @MethodDungeonTools\MethodDungeonTools.lua:1462
SetMapSublevel = defined @MethodDungeonTools\MethodDungeonTools.lua:2100
UpdateMap = defined @MethodDungeonTools\MethodDungeonTools.lua:1814
MakePullSelectionButtons = defined @MethodDungeonTools\MethodDungeonTools.lua:2032
UpdatePullButtonNPCData = defined @MethodDungeonTools\MethodDungeonTools.lua:2175
SetSelectionT