Core Loot Manager DKP & EPGP & SK

Core Loot Manager DKP & EPGP & SK

1M Downloads

attempt to index field 'Standings' (a nil value) - Standby

erikabp123 opened this issue · 1 comments

commented

Describe the bug
When I, or someone else, attempts to request standby on a raid in state created
then a lua exception is thrown and the player is not added to standby

To Reproduce
Steps to reproduce the behavior:

  1. Allow subscribing to bench in options
  2. Make a new raid with an EPGP roster
  3. Request standby on it yourself, or have a member of your roster request standby
  4. See the message "CLM PLAYERNAME has requested standby" in chat
  5. See that player has NOT been added to standby
  6. See lua error with message:
1x ...ules\StandbyStagingManager\StandbyStagingManager.lua:47: attempt to index field 'Standings' (a nil value)
[string "@ClassicLootManager\Modules\StandbyStagingManager\StandbyStagingManager.lua"]:47: in function `?'
[string "@ClassicLootManager\Modules\StandbyStagingManager\StandbyStagingManager.lua"]:15: in function <...ules\StandbyStagingManager\StandbyStagingManager.lua:11>
[string "@ClassicLootManager\Modules\StandbyStagingManager\StandbyStagingManager.lua"]:97: in function `?'
[string "@ClassicLootManager\Modules\Comms\Comms.lua"]:194: in function `?'
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@Ace3\AceComm-3.0\AceComm-3.0-12.lua"]:264: in function <Ace3\AceComm-3.0\AceComm-3.0.lua:246>

Expected behavior
No error message and player is added to standby.

AddOn and Game Version:

  • ADDON: v2.2.0
  • GAME: 3.4.0.45613
commented

Fixed on master