Minimal Archaeology

Minimal Archaeology

2M Downloads

WorldMap taint causes action blocked error

Protuhj opened this issue ยท 1 comments

commented

Simplest case to recreate:

  1. Go to a zone where there are dig sites so the addon can create pins
  2. Open the map, make sure there are MinimumArchaeology pins visible
  3. Get in combat
  4. Open the map while still in combat
    • Taint occurs

I think the main thing that causes this is that you use the built-in DigSitePinTemplate, therefore relying on the built-in DigSiteDataProvider and SharedMapPoiTemplates providers to handle actions for the addon's pins.

Here's the stack dump of the blocked action:

2x [ADDON_ACTION_BLOCKED] AddOn 'MinimalArchaeology' tried to call the protected function 'Frame:SetPropagateMouseClicks()'.
[!BugGrabber/BugGrabber.lua]:485: in function <!BugGrabber/BugGrabber.lua:485>
[C]: in function 'SetPropagateMouseClicks'
[Blizzard_SharedMapDataProviders/SharedMapPoiTemplates.lua]:515: in function 'UpdateMousePropagation'
[Blizzard_SharedMapDataProviders/SharedMapPoiTemplates.lua]:520: in function 'OnAcquired'
[Blizzard_SharedMapDataProviders/SharedMapPoiTemplates.lua]:629: in function 'OnAcquired'
[Blizzard_SharedMapDataProviders/DigSiteDataProvider.lua]:26: in function 'OnAcquired'
[Blizzard_MapCanvas/Blizzard_MapCanvas.lua]:297: in function 'AcquirePin'
[Blizzard_SharedMapDataProviders/DigSiteDataProvider.lua]:18: in function 'RefreshAllData'
[Blizzard_MapCanvas/Blizzard_MapCanvas.lua]:636: in function <...aceBlizzard_MapCanvas/Blizzard_MapCanvas.lua:635>
[C]: in function 'secureexecuterange'
[Blizzard_MapCanvas/Blizzard_MapCanvas.lua]:640: in function 'RefreshAllDataProviders'
[Blizzard_MapCanvas/Blizzard_MapCanvas.lua]:668: in function 'RefreshAll'
...[Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua]:336: 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>
[C]: in function 'ShowUIPanel'
[Blizzard_WorldMap/QuestLogOwnerMixin.lua]:115: in function 'SetDisplayState'
[Blizzard_WorldMap/QuestLogOwnerMixin.lua]:51: in function 'HandleUserActionToggleSelf'
[Blizzard_WorldMap/Blizzard_WorldMap.lua]:550: in function <...rfaceBlizzard_WorldMap/Blizzard_WorldMap.lua:549>
[C]: in function 'ToggleWorldMap'
[TOGGLEWORLDMAP]:1: in function <[string "TOGGLEWORLDMAP"]:1>

Locals:
_ = Frame {
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
}
commented

Thank you, fixed in v11.1.0.3