CowTip_LuaText

5 - unable to show percent sign

When a conversion string of format function contains a percent sign the addon generates an error.To reproduce it try using return format("%%").
When I enter the code into the settings file in WTF folder and log in the following error is generated when first tooltip is shown:

Message: Interface\AddOns\cowtip_luatext\LuaText.lua:86: invalid option in `format'
Time: 10/18/09 21:31:01
Count: 1>Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
(tail call): ?
...libs\LibRockModuleCore-1.0\LibRockModuleCore-1.0.lua:400: in function `CallMethodOnAllModules'
Interface\AddOns\CowTip\CowTip.lua:239: in function <Interface\AddOns\CowTip\CowTip.lua:229>
Interface\AddOns\CowTip\CowTip.lua:253: in function <Interface\AddOns\CowTip\CowTip.lua:246>
(tail call): ?
[C]: ?

When I enter the code into the CowTip settings form I got the following error when first tooltip is shown:
Message: Interface\AddOns\cowtip_luatext\LuaText.lua:86: attempt to call field '?' (a nil value)
Time: 10/18/09 21:29:05
Count: 2
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
(tail call): ?
...libs\LibRockModuleCore-1.0\LibRockModuleCore-1.0.lua:400: in function `CallMethodOnAllModules'
Interface\AddOns\CowTip\CowTip.lua:239: in function <Interface\AddOns\CowTip\CowTip.lua:229>
Interface\AddOns\CowTip\CowTip.lua:253: in function <Interface\AddOns\CowTip\CowTip.lua:246>
(tail call): ?
[C]: ?

User When Change
TAP3AH Sun, 18 Oct 2009 20:04:08 Create

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

Facts

Reported on
18 Oct 2009
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees