Files 0
Downloads 0
Favorites 0
My AddOns
    View Bug Report
    Parental Control error
    Bug #: 8046
    File: QuestGuru
    Date: 11-06-13 06:11 PM
    By: Shaggee
    Status: Game Bug (Cant fix)
    Parental control error I get:

    Date: 2013-11-06 18:08:52
    ID: 1
    Error occured in: AddOn: QuestGuru_Tracker
    Count: 1
    Message: Error: AddOn QuestGuru_Tracker attempted to call a forbidden function (IsDisabledByParentalControls()) from a tainted execution path.
    Debug:
    [C]: IsDisabledByParentalControls()
    ..\FrameXML\MainMenuBarMicroButtons.lua:229:
    ..\FrameXML\MainMenuBarMicroButtons.lua:76
    [C]: UpdateMicroButtons()
    ..\FrameXML\WorldMapFrame.lua:272:
    ..\FrameXML\WorldMapFrame.lua:255
    [C]: Show()
    WoWDBProfiler\Main.lua:784:
    WoWDBProfiler\Main.lua:768
    WoWDBProfiler\Main.lua:806: ?()
    ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
    ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
    [string "safecall Dispatcher[1]"]:4:
    [string "safecall Dispatcher[1]"]:4
    [C]: ?
    [string "safecall Dispatcher[1]"]:13: ?()
    ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
    Ace3\AceEvent-3.0\AceEvent-3.0.lua:120:
    Ace3\AceEvent-3.0\AceEvent-3.0.lua:119
    Locals:
    None

    RSS 2.0 Feed for Bug CommentsNotes Sort Options
    By: Shaggee - 11-06-13 06:28 PM
    This is an explanation I found when I was looking at another mod. Might prove useful

    posted originally by Skod:

    I'm going to try to offer an explanation that's informative yet relatively accessable.
    Blizzard controls what AddOns are capable of doing. They do this by flagging certain actions as being only usable by their own code. Those actions are referred to as "protected functions." Code from AddOns and /script commands can't use them; you get an error message when they try to.
    C_StorePublic.IsDisabledByParentalControls() was added as part of Patch 5.4.1, which was used to add code in preparation for the in-game store. It's a protected function. The problem is that it was integrated with the UpdateMicroButtons() function. Whenever an AddOn tries to modify something flagged as having a micro button - e.g. your friends list - that protected function is called and your AddOns are blocked.
    It's worth noting that most of these issues are caused by outdated code. Your friends list and the world map (and probably other frames) don't even have a micro button anymore. They haven't had one for years. But nobody has bothered to removed the UpdateMicroButtons() function from them.
    tl;dr: The new code is implemented poorly & old code hasn't been updated properly. Fun!
    By: Gregity - 11-06-13 06:45 PM
    Good God Almighty. Read the Forum posts and the comments. I've commented on this extensively and it is Not my problem.