Bagnon
Bagnon copied to clipboard
Error when attempting to set Character Specific Settings
Which software were you running?
- Addon version name: Bagnon 10.1.11
- Client used: Wrath 3.4.2
Have you read the changelog? Yes
Please describe the bug. Error when attempting to set Character Specific Settings. Note that even though the option got set, it doesn't work.
Please describe how to reproduce it.
- Open Bagnon settings
- Click on Character Specific Settings
- See error
Any Screenshots? N/A
Error Logs are Important!
2x BagBrother/core/api/owners.lua:124: attempt to index global 'owner' (a nil value)
[string "@BagBrother/core/api/owners.lua"]:124: in function SetProfile' [string "@BagBrother/config/panels/generalOptions.lua"]:47: in function
SetProfile'
[string "@BagBrother/config/panels/generalOptions.lua"]:32: in function ToggleGlobals' [string "@BagBrother/config/panels/generalOptions.lua"]:27: in function
method'
[string "@Scrap/libs/Sushi-3.1-5/classes/core/Callable.lua"]:55: in function `FireCalls'
[string "@BagBrother/libs/Sushi-3.1-5/classes/buttons/Clickable.lua"]:39: in function <...Brother/libs/Sushi-3.1/classes/buttons/Clickable.lua:34>
Locals: self =
I'm also seeing this issue, fresh install so my error text isn't as large
Message: Interface/AddOns/BagBrother/core/api/owners.lua:124: attempt to index global 'owner' (a nil value) Time: Sat Sep 30 10:47:04 2023 Count: 1 Stack: Interface/AddOns/BagBrother/core/api/owners.lua:124: attempt to index global 'owner' (a nil value) [string "=(tail call)"]: ? [string "=[C]"]: ? [string "@Interface/AddOns/BagBrother/core/api/owners.lua"]:124: in function
SetProfile'
[string "@Interface/AddOns/BagBrother/config/panels/generalOptions.lua"]:47: in function SetProfile' [string "@Interface/AddOns/BagBrother/config/panels/generalOptions.lua"]:32: in function
ToggleGlobals'
[string "@Interface/AddOns/BagBrother/config/panels/generalOptions.lua"]:27: in function method' [string "@Interface/AddOns/Scrap/libs/Sushi-3.1/classes/core/Callable.lua"]:55: in function
FireCalls'
[string "@Interface/AddOns/BagBrother/libs/Sushi-3.1/classes/buttons/Clickable.lua"]:39: in function <...Brother/libs/Sushi-3.1/classes/buttons/Clickable.lua:34>
Locals: (*temporary) = "LeftButton"
(*temporary) = false
(*temporary) =
Changing line 124 to this
self.profile = Addon.Settings:GetProfile(self.realm, self.id)
appears to allow setting on an single character and retain said settings. Do not know if this is the proper fix but it works..
Changing line 124 to this
self.profile = Addon.Settings:GetProfile(self.realm, self.id)
appears to allow setting on an single character and retain said settings. Do not know if this is the proper fix but it works..
Seems to have worked for this issue, thanks!