0xbs / premade-groups-filter

A World of Warcraft addon for powerful filtering of premade group listings.
GNU General Public License v2.0
75 stars 40 forks source link

Attempt to index global 'MinRatingFrame' (a nil value). #267

Closed aromagnoli closed 3 months ago

aromagnoli commented 3 months ago

Game Version

Retail

Lua error from Bugsack

23x ...ddOns/PremadeGroupsFilter/Modules/AdvancedFilter.lua:94: attempt to index global 'MinRatingFrame' (a nil value)
[string "@PremadeGroupsFilter/Modules/AdvancedFilter.lua"]:94: in function `GetAdvancedFilterDefaults'
[string "@PremadeGroupsFilter/UI/DungeonPanel.lua"]:346: in function `UpdateAdvancedFilters'
[string "@PremadeGroupsFilter/UI/DungeonPanel.lua"]:276: in function `TriggerFilterExpressionChange'
[string "@PremadeGroupsFilter/UI/Common.lua"]:76: in function <PremadeGroupsFilter/UI/Common.lua:73>

Locals:
enabled = <table> {
 needsMyClass = false
 hasHealer = false
 minimumRating = 0
 difficultyMythicPlus = true
 needsHealer = false
 hasTank = false
 difficultyMythic = true
 difficultyNormal = true
 activities = <table> {
 }
 needsTank = false
 needsDamage = false
 difficultyHeroic = true
}
(*temporary) = nil
(*temporary) = <table> {
 needsMyClass = false
 hasHealer = false
 minimumRating = 0
 difficultyMythicPlus = true
 needsHealer = false
 hasTank = false
 difficultyMythic = true
 difficultyNormal = true
 activities = <table> {
 }
 needsTank = false
 needsDamage = false
 difficultyHeroic = true
}
(*temporary) = true
(*temporary) = "attempt to index global 'MinRatingFrame' (a nil value)"

Current behaviour

Opening the Premade Group tab with the addon, it triggers that error.

Steps to reproduce

  1. Open premade dungeon list with the addon loaded

Expected behaviour

Not throwing any errors. =)

Hollicsh commented 3 months ago

Yep. Same.

0xbs commented 3 months ago

Now fixed