AtlasLoot_AdvancedSearch

6 - Search error

What steps will reproduce the problem?
1. Umm search for anything by the slot ( say Head )
2. Wham, error
3.

What is the expected output? What do you see instead?
I get an error and no search results.

What version of the product are you using?
1.2.6

Do you have an error log of what happened?

1x ...s\AtlasLootAdvancedSearch\WeaponTypeSearchModule.lua:87 bad argument #1 to 'strmatch' (string expected, got nil):
...s\AtlasLootAdvancedSearch\WeaponTypeSearchModule.lua:87 in function `searchFunc':
AtlasLootAdvancedSearch-v1.2.6\Core.lua:1479 in function `PerformSearchModuleItemIteration'
AtlasLootAdvancedSearch-v1.2.6\Core.lua:1284 in function <AtlasLootAdvancedSearch\Core.lua:1169
(tail call): ?:
AtlasLootAdvancedSearch-v1.2.6\Core.lua:539 in function <AtlasLootAdvancedSearch\Core.lua:538
(tail call): ?:

Locals:
self = <table> {
 defaultValue = true
 ValidValues = <table> {}
 LocValue = "If checked, type of weapon (such as Mace, Staff, Shield, etc.) will checked against the search string for a match."
 Priority = 1
 ModuleName = "WeaponTypes"
 Func = <function> @ AtlasLootAdvancedSearch\WeaponTypeSearchModule.lua:80
 LocKey = "Match Weapon Type"
}
lootTableID = 4
item_data = <table> {
 1 = 16
 2 = 0
 3 = "spell_deathknight_classicon"
 4 = "=q6=Death Knight"
 ALAS_SearchResultMask = 0
 ALAS_ModuleProcessedMask = 4
}
completingCombinationSearch = nil
isMatch = false
itemID = 0
displayText = nil
description = nil
isPartialMatch = false
remainingMatch = nil
encoded_metadata = nil
extraData = nil
AtlasLootAdvancedSearch_GetLootItemMetadata = <function> @ AtlasLootAdvancedSearch\Core.lua:863
strmatch = <function> defined =[C]:-1
al_addon = <table> {
 SetModuleEnabled = <function> @ AtlasLoot\Core\AtlasLoot.lua:1268
 AddTextToTooltip = <function> @ AtlasLoot\Core\AtlasLoot.lua:796
 AddItemButtonTemplateFunc = <function> @ AtlasLoot\Core\LootButtons.lua:648
 SlashCommand = <function> @ AtlasLoot\Core\AtlasLoot.lua:262
 RegisterModuleOptions = <function> @ AtlasLoot\Core\Options.lua:298
 CreateItemButton = <function> @ AtlasLoot\Core\LootButtons.lua:27
 GetModuleEnabled = <function> @ AtlasLoot\Core\AtlasLoot.lua:1264
 RegisterOnProfileChanged = <function> @ AtlasLoot\Core\AtlasLoot.lua:243
 ItemShowCompareItem = <function> @ AtlasLoot\Core\LootButtons.lua:837
 SetDefaultModulePrototype = <function> @ AdiBags\libs\AceAddon-3.0\AceAddon-3.0.lua:425
 GetBossTableZoneID = <function> @ AtlasLoot\Core\AtlasLoot.lua:473
 RefreshAtlasLootPanel = <function> @ AtlasLoot\Core\Panel.lua:330
 ShowFrame_MiniMap = <function> @ AtlasLoot\Modules\DefaultFrame.lua:511
 HeroicModeToggle = <function> @ AtlasLoot\Core\ItemFrame.lua:144
 GetTableFormatFunction = <function> @ AtlasLoot\Core\AtlasLoot.lua:747
 SearchBox = AtlasLootSearch_Box {}
 SetupTooltip = <function> @ AtlasLoot\Core\LootButtons.lua:738
 SetEnableQuickLook = <function> @ AtlasLoot\Core\QuickLooks.lua:202
 SetEnabledState = <function> @ AdiBags\libs\AceAddon-3.0\AceAddon-3.0.lua:440
 GetEnableQuickLook = <function> @ AtlasLoot\Core\QuickLooks.lua:215
 RefreshBossSelect = <function> @ AtlasLoot\Core\ItemFrame.lua:120
 NavButton_OnClick = <function> @ AtlasLoot\Core\ItemFrame.lua:136
 imagePath = "AtlasLoot\Images\"
 Paneldb = <table> {}
 ShowHeriloomConfigWindow = <function> @ AtlasLoot\Core\LootButtons.lua:953
 OnInitialize = <function> @ AtlasLoot\Core\AtlasLoot.lua:171
 NewModule = <function> @ AdiBags\libs\AceAddon-3.0\AceAddon-3.0.lua:256
 QueryLootPage = <function> @ AtlasLoot\Core\ItemFrame.lua:260
 QAItemOnClick = <function> @ AtlasLoot\Core\LootButtons.lua:688
 OptionsInitialize = <function> @ AtlasLoot\Core\Options.lua:283
 QAItemOnLeave = <function> @ AtlasLoot\Core\LootButtons.lua:681
 OnProfileChanged = <function> @ AtlasLoot\Core\AtlasLoot.lua:247
 GetName = <function> @ AdiBags\libs\AceAddon-3.0\AceAddon-3.0.lua:300
 MiniMapButtonHideShow = <function> @ AtlasLoot\Core\MiniMap-LDB.lua:32
 name = "AtlasLoot"
 GetHeirloomMaxLvl = <function> @ AtlasLoot\Core\AtlasLoot.lua:1332
 SetLootTableType = <function> defined @AtlasLoot\Core\AtlasLoot
  ---

Please provide any additional information below.

 This was my first time using the addon. I love the idea and I read in detail how to use the search but I couldn't get it to work ( errors everytime ).

Not sure if that matters I use a filter function in AtlasLoot for my class ( druid ).

User When Change
organizedevolution Jan 18, 2011 at 08:11 UTC Changed status from New to Fixed
Oakayam Jan 08, 2011 at 16:37 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Jan 18, 2011
Reported
Jan 08, 2011
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees