Bagnon

Bagnon

127M Downloads

BagBrother LUA error when in Guild bank attempting to take partial stack

robertjamesftw opened this issue ยท 1 comments

commented

Running Software (issues missing this information will be deleted):

  • Addon version: Bagnon-10.1
  • Server patch: [e.g. Build 10.1.5.50469]

Have you read the changelog? (please don't waste our time)
Changelog has been read

Describe the bug
When the Guild Bank frame is enabled, an attempt to select a partial number out of a stack of items produces an error.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to Guild Vault
  2. Shift-RightClick on stack of items
  3. See error

Expected behaviour
A selection popup allowing a specific number of that item to be selected should appear

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

Error Logs
Error dialog reads:

Message: Interface/AddOns/BagBrother/frames/guild/item.lua:30: attempt to compare number with nil
Time: Sat Jul 15 10:12:38 2023
Count: 1
Stack: Interface/AddOns/BagBrother/frames/guild/item.lua:30: attempt to compare number with nil

Locals:

Additional context
Add any other context about the problem here.

commented

Same error here.

Addon-Version: 10.1.3
Server Patch: 3.4.2 (50375)

6x BagBrother/frames/guild/item.lua:30: attempt to compare number with nil
[string "@BagBrother/frames/guild/item.lua"]:30: in function <BagBrother/frames/guild/item.lua:26>

Locals:
self = BagnonGuildItem55 {
 timeSinceUpgradeCheck = 0
 OnEnter = <function> defined @BagBrother/core/classes/item.lua:118
 __super = <table> {
 }
 UnregisterAll = <function> defined @BagBrother/core/classes/base.lua:27
 IconOverlay = Texture {
 }
 Super = <function> defined @BagBrother/libs/Poncho-2.0/Poncho-2.0.lua:157
 Bind = <function> defined @BagBrother/core/classes/item.lua:91
 IconBorder = Texture {
 }
 flashAnim = AnimationGroup {
 }
 OnReceiveDrag = <function> defined @BagBrother/frames/guild/item.lua:59
 icon = BagnonGuildItem55IconTexture {
 }
 Backgrounds = <table> {
 }
 UpdateTooltip = <function> defined @BagBrother/core/classes/item.lua:118
 ExtendedOverlay = Texture {
 }
 __type = "Button"
 __count = 55
 GetFrameID = <function> defined @BagBrother/core/classes/parented.lua:35
 NewItemTexture = Texture {
 }
 Delay = <function> defined @BagBrother/libs/MutexDelay-1.0/MutexDelay-1.0.lua:27
 SplitStack = <function> defined @BagBrother/frames/guild/item.lua:75
 BagStaticBottom = Texture {
 }
 UpdateLocked = <function> defined @BagBrother/core/classes/item.lua:182
 UnregisterMessage = <function> defined @AtlasLootClassic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
 Update = <function> defined @BagBrother/core/classes/item.lua:141
 flash = Texture {
 }
 Dummy = Button {
 }
 RegisterFrameSignal = <function> defined @BagBrother/core/classes/base.lua:15
 SetDesaturated = <function> defined @BagBrother/core/classes/item.lua:187
 UpdateSearch = <function> defined @BagBrother/core/classes/item.lua:215
 hasItem = true
 UnregisterSignal = <function> defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:78
 count = 19
 GetProfile = <function> defined @BagBrother/core/classes/parented.lua:19
 info = <table> {
 }
 GetQuery = <function> defined @BagBrother/core/classes/item.lua:305
 OnDragStart = <function> defined @BagBrother/frames/guild/item.lua:53
 frame = BagnonGuild1 {
 }
 Delaying = <function> defined @BagBrother/libs/MutexDelay-1.0/MutexDelay-1.0.lua:46
 Count = BagnonGuildItem55Count {
 }
 UnregisterAllEvents = <function> defined =[C]:-1
 IconGlow = Texture {
 }
 searchOverlay = BagnonGuildItem55SearchOverlay {
 }
 Construct = <function> defined @BagBrother/frames/guild/item.lua:13
 BagFamilies = <table> {
 }
 SendSignal = <function> defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:82
 bag = 1
 BattlepayItemTexture = Texture {
 }
 GetOwner = <function> defined @BagBrother/core/classes/parented.lua:27
 JunkIcon = Texture {
 }
 GetTipAnchor = <function> defined @BagBrother/core/classes/tipped.lua:19
 __template = "ContainerFrameItemButtonTemplate"
 Flash = AnimationGroup {
 }
 UnregisterEvent = <function> defined =[C]:-1
 GetClassName = <function> defined @BagBrother/libs/Poncho-2.0/Poncho-2.0.lua:100
 GetClass = <function> defined @BagBrother/libs/Poncho-2.0/Poncho-2.0.lua:135
 ShowTooltip = <function> defined @BagBrother/frames/guild/item.lua:68
 newitemglowAnim = AnimationGroup {
 }
 IsAbstract = <function> defined @BagBrother/libs/Poncho-2.0/Poncho-2.0.lua:116
 UpdateUpgradeIcon = <function> defined @BagBrother/core/classes/item.lua:223
 New = <function> defined @BagBrother/core/classes/item.lua:38
 GetSlot = <function> defined @BagBrother/core/classes/item.lua:320
 GetSuper = <function> defined @BagBrother/libs/Poncho-2.0/Poncho-2.0.lua:104
 OnPostClick = <function> defined @BagBrother/core/classes/item.lua:112
 GetInfo = <function> defined @BagBrother/core/classes/item.lua:297
 GetTemplate = <function> defined @Add