Showing Blizzard's "Zone Map" and reloading the UI causes Lua error when "Hide Party Frames" is checked #1566


  • New
Open
  • Mayron created this issue Dec 7, 2020

    When I have the "Zone Map" showing (press SHIFT-M) and log in with just Shadowed Unit Frames I get the Lua error below.

     

    When I have Shadowed Unit Frames disabled this goes away. I don't know why it's affecting Blizzard_BattlefieldMap but when I don't have the Zone Map showing then this error does not occur.

     

    I have the latest version of Shadowed Unit Frames and I deleted my WTF and cache folders before running this test.

    Please let me know if you need any more info :) Thanks.

     

    Message: ...ard_ObjectiveTracker\Blizzard_QuestSuperTracking.lua:42: attempt to index upvalue 'SuperTrackEventFrame' (a nil value)
    Time: Mon Dec 7 20:22:22 2020
    Count: 1
    Stack: ...ard_ObjectiveTracker\Blizzard_QuestSuperTracking.lua:42: attempt to index upvalue 'SuperTrackEventFrame' (a nil value)
    [string "@Interface\AddOns\Blizzard_ObjectiveTracker\Blizzard_QuestSuperTracking.lua"]:42: in function `QuestSuperTracking_ShouldHighlightDungeons'
    [string "@Interface\AddOns\Blizzard_SharedMapDataProviders\DungeonEntranceDataProvider.lua"]:53: in function `UpdateSupertrackedHighlight'
    [string "@Interface\AddOns\Blizzard_SharedMapDataProviders\DungeonEntranceDataProvider.lua"]:34: in function `RefreshAllData'
    [string "@Interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua"]:76: in function `OnMapChanged'
    [string "@Interface\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua"]:559: in function `OnMapChanged'
    [string "@Interface\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua"]:59: in function `SetMapID'
    [string "@Interface\AddOns\Blizzard_BattlefieldMap\Blizzard_BattlefieldMap.lua"]:197: in function <...\Blizzard_BattlefieldMap\Blizzard_BattlefieldMap.lua:173>

    Locals: uiMapID = 1536
    (*temporary) = nil
    (*temporary) = "attempt to index upvalue 'SuperTrackEventFrame' (a nil value)"
    SuperTrackEventFrame = nil

  • Mayron added a tag New Dec 7, 2020
  • Mayron edited description Dec 7, 2020
  • Mayron added an attachment zonemap.jpg Dec 7, 2020

    Zone Map

    zone map

  • Mayron added an attachment WoWScrnShot_120720_203828.jpg Dec 7, 2020

    Only SUF enabled

  • Mayron posted a comment Dec 7, 2020

    EDIT: It's the "Hide Party Frames" option causing the problem. If it's enabled and I have the Zone Map showing I get this bug on `/reload`

     

    Looks like when you unregister all events from each party frame then the bug occurs. As though something needs to be triggered but it can't trigger.


    Edited Dec 11, 2020
  • Mayron added an attachment hideBlzz.jpg Dec 7, 2020

    hideBlizzardFrames

    If I comment out these 4 lines in ShadowedUnitFrames.lua then the error goes (although this is not ideal), and it seems to be relating to the party frames.

  • Mayron edited title and description Dec 11, 2020

To post a comment, please login or register a new account.