119 - Attempt to compare a number with string
What steps will reproduce the problem?
Attempting to run this code : Display.lua (http://www.pastey.net/134092)
I pasted the whole thing but it is probably reproducible with just the snipped in DrawMembersTreeGroup
What is the expected output? What do you see instead?
Result is an error and my layout is weird, the dropdown and button are misaligned vertically : dropdown is where it should be (except select pane opens one line too low) and button is down one line (see screenshot).
What version of the product are you using? r907
Do you have an error log of what happened?
1x AceGUI-3.0-30 (AsmoRaidTracker):797: attempt to compare number with string
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceGUI-3.0-30 (AsmoRaidTracker):448: in function `PerformLayout'
AceGUI-3.0-30 (AsmoRaidTracker):453: in function `DoLayout'
AceGUI-3.0-30 (AsmoRaidTracker):474: in function `AddChild'
AsmoRaidTracker\Display.lua:92 in function `DrawMembersTreeGroup'
AsmoRaidTracker\Display.lua:21 in function <AsmoRaidTracker\Display.lua:13
Please provide any additional information below.
| User | When | Change |
|---|---|---|
| Mokhtar | Mar 13, 2010 at 11:26 UTC | Changed status from New to Invalid |
| Mokhtar | Mar 12, 2010 at 02:40 UTC | Deleted attachment WoWScrnShot_031210_033756.jpg: Duplicate |
| Mokhtar | Mar 12, 2010 at 02:40 UTC | Added attachment WoWScrnShot_031210_033756.jpg |
| Mokhtar | Mar 12, 2010 at 02:39 UTC | Added attachment WoWScrnShot_031210_033756.jpg |
| Mokhtar | Mar 12, 2010 at 02:38 UTC | Create |
- 1 comment
- 1 comment
Facts
- Last updated
- Mar 13, 2010
- Reported
- Mar 12, 2010
- Status
- Invalid - This was not a valid report.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- Votes
- 0
- Component
- AceGUI-3.0
- Reply
- #1
Mokhtar Mar 13, 2010 at 11:26 UTC - 0 likesNm, apparently misalignment is "normal" behaviour for dropdowns and error was due to a SetWidth([String value])...