
Autocomplete lua error on CN gameclient
Nukme opened this issue · 1 comments
Please include as much of the following information as possible to help me fix the bug:
Brief Description of Bug
This error occurs after 7.1 patch.
Steps to Reproduce
It may be a little difficult to reproduce on English client. One needs an IME to input Chinese characters.
Error occurs on following order:
Say you have already searched and cached item "延时之力药水"(Potion of Prolonged Power)
- Input "延时"
- No autocomplete
- With IME on, type in random letters, then delete all you've just typed in
- Item name autocompletes, and lua error occurs.
Loaded Addons
Auctionator 4.0.14
Back Trace (LUA Error Output)
Message: Interface\AddOns\Auctionator\Auctionator.lua:5061: bad argument #1 to 'strlen' (string expected, got nil)
Time: 10/31/16 01:14:54
Count: 10
Stack: [C]: in function strlen' Interface\AddOns\Auctionator\Auctionator.lua:5061: in function
Atr_Item_Autocomplete'
[string ":OnCharComposition"]:1: in function <[string ":OnCharComposition"]:1>
Locals: (_temporary) = nil
(_temporary) = "string expected, got nil"
Auctionator has no code for autocomplete. Sounds like a blizzard error. That second lua error
Interface\AddOns\Auctionator\Auctionator.lua:5061: bad argument #1 to 'strlen' (string expected, got nil)
This might be something we can better insulate against.