arkayenro / arkinventory

A World of Warcraft Inventory mod for Retail, Burning Crusade, and Classic
108 stars 14 forks source link

[BUG] Cannot buy warband bank tab #2003

Open mike-robertson opened 2 weeks ago

mike-robertson commented 2 weeks ago

What version number you are using? 3.11.01

What game client are you playing? Retail, Wrath, Classic / Live, PTR, Beta Retail

What language is the game client set to? English

Describe the bug Attempting to purchase a tab for warband bank fails and results in the following error:

4x [ADDON_ACTION_FORBIDDEN] AddOn 'ArkInventory' tried to call the protected function 'PurchaseBankTab()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `PurchaseBankTab'
[string "@Blizzard_UIPanels_Game/Mainline/BankFrame.lua"]:688: in function `OnAccept'
[string "@Blizzard_StaticPopup/Mainline/StaticPopup.lua"]:1016: in function `StaticPopup_OnClick'
[string "*StaticPopup.xml:23_OnClick"]:1: in function <[string "*StaticPopup.xml:23_OnClick"]:1>
Locals:
_ = Frame {
}
event = "ADDON_ACTION_FORBIDDEN"
events = <table> {
}

To Reproduce Attempt to buy a warband bank tab

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Not a huge issue if you already have a warband bank tab, but took me a minute to realize what was going on when I was first trying to purchase one (disabling addon allowed me to purchase one).

arkayenro commented 2 weeks ago

i purchased the first three tabs with it and it worked ok. unfortunately its one of those things you cant go back and retest easily

plus, its done via a blizzard static popup dialog, i call that, i dont actually call purchasebanktab directly

if theyve made that protected then theres nothing i can do though. youd have to disable arkinventory to get at the default ui to buy them.

wrufeger commented 1 week ago

had the same problem ... but no errors in bugsack.