AceDB needs updating to work on classic era PTR #1992


Open
  • Mayron created this issue Jul 4, 2023

    AceDB has been updated to fix the "regionKey is nil" Lua error:

    Ace3/AceDB-3.0/AceDB-3.0.lua at master · WoWUIDev/Ace3 · GitHub

     

    but Shadowed Unit Frames and the other addon authors (including Bartender4) that embed AceDB need to update it to the latest version (minor version 28).

     

    Currently, on the classic PTR, `GetCurrentRegion()` returns 72 (at least for me) and it can be random I've heard so you can't trust it. As shown on the link above, the updated AceDB version has a fallback. This version fixes the problem.

     

    This is the full error:

     

    Message: ...dOns/ShadowedUnitFrames/libs/AceDB-3.0/AceDB-3.0.lua:264: attempt to concatenate local 'regionKey' (a nil value)
    Time: Tue Jul  4 22:24:01 2023
    Count: 1
    Stack: ...dOns/ShadowedUnitFrames/libs/AceDB-3.0/AceDB-3.0.lua:264: attempt to concatenate local 'regionKey' (a nil value)
    [string "@Interface/AddOns/ShadowedUnitFrames/libs/AceDB-3.0/AceDB-3.0.lua"]:264: in main chunk
    
    Locals: ACEDB_MAJOR = "AceDB-3.0"
    ACEDB_MINOR = 27
    AceDB = <table> {
     frame = Frame {
     }
     db_registry = <table> {
     }
    }
    type = <function> defined =[C]:-1
    pairs = <function> defined =[C]:-1
    next = <function> defined =[C]:-1
    error = <function> defined =[C]:-1
    setmetatable = <function> defined =[C]:-1
    rawset = <function> defined =[C]:-1
    rawget = <function> defined =[C]:-1
    _G = <table> {
     UpdateOnBarHighlightMarksBySpell = <function> defined @Interface/FrameXML/ActionButton.lua:70
     ERR_OUT_OF_CHI = "Not enough chi"
     DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
     SettingsSliderOptionsMixin = <table> {
     }
     GetTrainerServiceTypeFilter = <function> defined =[C]:-1
     UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
     SetTrainerServiceTypeFilter = <function> defined =[C]:-1
     LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 791
     SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
     LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 409
     ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this group."
     CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
     }
     ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
     PVP_RANK_6_1 = "Corporal"
     MultiBarLeftButton7 = MultiBarLeftButton7 {
     }
     InterfaceOptionsNamesPanelUnitNameplatesShowAll = InterfaceOptionsNamesPanelUnitNameplatesShowAll {
     }
     VideoOptionsFrameDefaults = VideoOptionsFrameDefaults {
     }
     MerchantItem1AltCurrencyFrameItem1Text = MerchantItem1AltCurrencyFrameItem1Text {
     }
     OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "Action button keybinds will respond on key down, rather than on key up."
     BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
     CHAT_HEADER_SUFFIX = ": "
     MultiBarBottomRightButton8Shine5 = MultiBarBottomRightButton8Shine5 {
     }
     IsReferAFriendLinked = <function> defined =[C]:-1
     MAIL_LETTER_TOOLTIP = "Click to make a permanent
    copy of this letter."
     UnitFrameManaBar_UnregisterDefaultEvents = <function> defined @Interface/FrameXML/UnitFrame.lua:623
     MANA = "Mana"
     CHAT_CONFIG_OTHER_COMBAT = <table> {
     }
     CONSOLIDATED_BUFFS_PER_ROW = 4
     MoneyFrame_OnEvent = <function> defined @Interface/FrameXML/MoneyFrame.lua:224
     BN_UNABLE_TO_RESOLVE_NAME = "Unable to whisper '%s'. Blizzard services may be unavailable."
     LE_GAME_ERR_RECRUIT_A_FRIEND_FAILED = 1005
     CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight = CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight {
     }
     LE_GAME_ERR_ONLY_ONE_QUIVER = 33
     SpellButton6Cooldown = SpellButton6Cooldown {
     }
     LOSS_OF_CONTROL_DISPLAY_FEAR = "Feared"
     Graphics_QualityText = Graphics_QualityText {
     }
     ROGUE_COMBAT_CORE_ABILITY_4 = "Melee ability with an increased range that consumes Combo Points."
     JoinSkirmish = <function> defined =[C]:-1
     Advanced_GraphicsAPIDropDownButtonHighlightTexture = Advanced_GraphicsAPIDropDownButtonHighlightTexture {
     }
     MultiBarRightButton7Shine9 = MultiBarRightButton7Shine9 {
     }
     BankFrameItem17SearchOverlay = BankFrameItem17SearchOverlay {
     }
     DMG_LCD = "DMG"
     RaidGraphics_EnvironmentalDetailSlider = RaidGraphics_EnvironmentalDetailSlider {
     }
     Is64BitClient = <function> defined =[C]:-1
     SecureCmdItemParse = <function> defined @Interface/FrameXML/ChatFrame.lua:1148
     SLASH_STOPATTACK1 = "/stopattack"
     SortQuestWatches = <function> defined =[C]:-1
     ContainerFrame4Item16Cooldown = ContainerFrame4Item16Cooldown {
     }
     MINIMAP_TRACKING_TRAINER_CLASS = "Class Trainer"
     SLASH_DISMOUNT2 = "/dismount"
     DUNGEON_FLOOR_DR
  • Mayron edited description Jul 4, 2023

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