PetTracker

325 - "Action blocked" error when opening journal in combat

  • PetTracker 5.4.10
  • WoW 5.4.2 EU English

If you are in combat when you open the pet journal for the first time since logging in (or reloading the UI) the following "action blocked" error occurs:

[ADDON_ACTION_BLOCKED] AddOn 'PetTracker_Journal' tried to call the protected function 'PetJournalParentSecureTabs:SetAttribute()'.
!BugGrabber\BugGrabber.lua:586: in function <!BugGrabber\BugGrabber.lua:586>
[C]: in function `SetAttribute'
...ns\PetTracker\Libs\SecureTabs-1.0\SecureTabs-1.0-1.lua:72: in function `Update'
...ns\PetTracker\Libs\SecureTabs-1.0\SecureTabs-1.0-1.lua:25: in function <...ns\PetTracker\Libs\SecureTabs-1.0\SecureTabs-1.0.lua:24>
[C]: in function `PanelTemplates_SetTab'
...eBlizzard_PetJournal\Blizzard_PetJournal-1.0.lua:96: in function `PetJournalParent_SetTab'
FrameXML\UIParent.lua:662: in function `TogglePetJournal'
[string "TOGGLECOMPANIONJOURNAL"]:1: in function <[string "TOGGLECOMPANIONJOURNAL"]:1>

(On a side note, it would be nice if you'd put the version in the TOC, or anywhere, so I didn't have to go check to see what the latest version was, and then reinstall to make sure I actually had that version, and then reproduce the problem again to make sure it actually happens with that version.)

User When Change
Jaliborc Jul 15, 2014 at 23:24 UTC Changed status from Accepted to Fixed
Jaliborc Feb 04, 2014 at 09:51 UTC Changed priority from Medium to Low
Jaliborc Feb 04, 2014 at 09:50 UTC Changed status from New to Accepted
Phanx Feb 03, 2014 at 01:04 UTC Changed description:
  If you are in combat when you open the pet journal for the first time since logging in (or reloading the UI) the following "action blocked" error occurs:

-
-       [ADDON_ACTION_BLOCKED] AddOn 'PetTracker_Journal' tried to call the protected function 'PetJournalParentSecureTabs:SetAttribute()'.
+ 	[ADDON_ACTION_BLOCKED] AddOn 'PetTracker_Journal' tried to call the protected function 'PetJournalParentSecureTabs:SetAttribute()'.
-       !BugGrabber\BugGrabber.lua:586: in function <!BugGrabber\BugGrabber.lua:586>
+ 	!BugGrabber\BugGrabber.lua:586: in function <!BugGrabber\BugGrabber.lua:586>
- [C]: in function `SetAttribute'
+ 	[C]: in function `SetAttribute'
-       ...ns\PetTracker\Libs\SecureTabs-1.0\SecureTabs-1.0-1.lua:72: in function `Update'
+ 	...ns\PetTracker\Libs\SecureTabs-1.0\SecureTabs-1.0-1.lua:72: in function `Update'
-       ...ns\PetTracker\Libs\SecureTabs-1.0\SecureTabs-1.0-1.lua:25: in function <...ns\PetTracker\Libs\SecureTabs-1.0\SecureTabs-1.0.lua:24>
+ 	...ns\PetTracker\Libs\SecureTabs-1.0\SecureTabs-1.0-1.lua:25: in function <...ns\PetTracker\Libs\SecureTabs-1.0\SecureTabs-1.0.lua:24>
-       [C]: in function `PanelTemplates_SetTab'
+ 	[C]: in function `PanelTemplates_SetTab'
-       ...eBlizzard_PetJournal\Blizzard_PetJournal-1.0.lua:96: in function `PetJournalParent_SetTab'
+ 	...eBlizzard_PetJournal\Blizzard_PetJournal-1.0.lua:96: in function `PetJournalParent_SetTab'
-       FrameXML\UIParent.lua:662: in function `TogglePetJournal'
+ 	FrameXML\UIParent.lua:662: in function `TogglePetJournal'
-       [string "TOGGLECOMPANIONJOURNAL"]:1: in function <[string "TOGGLECOMPANIONJOURNAL"]:1>
+ 	[string "TOGGLECOMPANIONJOURNAL"]:1: in function <[string "TOGGLECOMPANIONJOURNAL"]:1>
  (On a side note, it would be nice if you'd put the version in the TOC, or anywhere, so I didn't have to go check to see what the latest version was, and then reinstall to make sure I actually had that version, and then reproduce the problem again to make sure it actually happens with that version.)
Phanx Feb 03, 2014 at 01:02 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of Jaliborc Jaliborc Jul 15, 2014 at 23:20 UTC - 0 likes

    That is awesome!

    P.S: Sorry I took so much time to notice this.

    Last edited Jul 15, 2014 by Jaliborc

    Developer of addons such as Bagnon, PetTracker and OmniCC
    Visit me at jaliborc.com.

  • Avatar of Phanx Phanx May 10, 2014 at 02:18 UTC - 0 likes

    I've resolved the issue locally for some time using the following code; since it seems you haven't had time to do anything with this, feel free to copy and paste into TamerJournal.lua:

    --[[ Start this Baby ]]--
    
    local function Load()
    	Tabs:Startup(PetJournalParent, MountJournal, PetJournal)
    	Tabs:Add(PetJournalParent, Journal, 'Tamers')
    	Journal:SetScript('OnShow', Journal.Startup)
    end
    
    if not UnitAffectingCombat('player') then
    	Load()
    else
    	local f = CreateFrame('Frame')
    	f:RegisterEvent('PLAYER_REGEN_ENABLED')
    	f:SetScript('OnEvent', function(self, event)
    		f:UnregisterEvent(event)
    		Load()
    	end)
    end
    
    Last edited May 10, 2014 by Phanx
  • 2 comments

Facts

Last updated
Jul 15, 2014
Reported
Feb 03, 2014
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Low - Might slip to a later milestone.
Votes
0

Reported by

Possible assignees