LUA error on mouse over of Enchanted Twilight Wand at trainer #103


  • Fixed
  • Unable to Reproduce
Open
Assigned to burstroc
  • finwickle created this issue Dec 6, 2020

    BankItems Version: 9.0.2.1

    Game Version:

    Description of Error: Two LUA errors at the enchanting trainer in Oribos when I mouse over the Enchanted Twilight Wand in the trainer window. This was repeatable on every mouse over. This character didn't have enchanting yet, but two other professions. When I skipped another profession and learned enchanting the error didn't appear anymore on mouse over.

     

    Steps to Reproduce Error:

    - Visit the enchanting trainer in Oribos with a character without enchanting.

    - Mouse over the Enchanted Twilight Wand (skill 15) in the trainer window.

     

    LUA errors:

    Message: Interface\AddOns\BankItems\BankItems.lua:6500: bad argument #1 to 'gsub' (string expected, got nil)
    Time: Sun Dec 6 18:31:16 2020
    Count: 1
    Stack: Interface\AddOns\BankItems\BankItems.lua:6500: bad argument #1 to 'gsub' (string expected, got nil)
    [string "=[C]"]: ?
    [string "@Interface\AddOns\BankItems\BankItems.lua"]:6500: in function `BankItems_AddTooltipData'
    [string "@Interface\AddOns\BankItems\BankItems.lua"]:6664: in function <Interface\AddOns\BankItems\BankItems.lua:6663>
    [string "=[C]"]: in function `SetTrainerService'
    [string "*:OnEnter"]:3: in function <[string "*:OnEnter"]:1>

    Locals: (*temporary) = nil
    (*temporary) = "(item:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:)[-%d]-:[-%d]-([:|])"
    (*temporary) = "%1:%2"
    (*temporary) = "string expected, got nil"

     

      

    Message: Interface\AddOns\BankItems\BankItems.lua:6500: bad argument #1 to 'gsub' (string expected, got nil)
    Time: Sun Dec 6 18:31:16 2020
    Count: 2
    Stack: Interface\AddOns\BankItems\BankItems.lua:6500: bad argument #1 to 'gsub' (string expected, got nil)
    [string "=[C]"]: ?
    [string "@Interface\AddOns\BankItems\BankItems.lua"]:6500: in function `BankItems_AddTooltipData'
    [string "@Interface\AddOns\BankItems\BankItems.lua"]:6664: in function <Interface\AddOns\BankItems\BankItems.lua:6663>

    Locals: (*temporary) = nil
    (*temporary) = "(item:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:[-%d]-:)[-%d]-:[-%d]-([:|])"
    (*temporary) = "%1:%2"
    (*temporary) = "string expected, got nil"

     

     

  • finwickle added a tag New Dec 6, 2020
  • Burstroc posted a comment Dec 7, 2020

    I was unable to reproduce this but I've added protections into the next release that should avoid this happening again. I'll leave the ticket open for a while just in case.

  • Burstroc self-assigned this issue Dec 7, 2020
  • Burstroc removed a tag New Dec 7, 2020
  • Burstroc added the tags Fixed Unable to Reproduce Dec 7, 2020
  • Burstroc posted a comment Jan 1, 2021

    Just adding an update that this fix is still waiting on some Overwolf transition issues to be fixed so the system starts packaging my tags/commits again.


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