2 - 'missing data' spam messages fix
What steps will reproduce the problem?
1. Enter the molten front since 4.2.
2. See chat spam complaining about missing data.
What is the expected output? What do you see instead?
A single error message? I don't know, but chat spam is quite undesirable.
What version of the product are you using?
v1.0... how do I find the version I'm using from the lua files?
Do you have an error log of what happened?
no error log
Please provide any additional information below.
You might be please to know that i have a (nasty hack of a) fix for this. In the deployment of libmapdata, in library.lua on line 61:
change the line:
setmetatable(mapData, { __index = function(t, k) if k then DEFAULT_CHAT_FRAME:AddMessage("LibMapData-1.0 is missing data for "..k) end; return emptyMaps end })
to:
setmetatable(mapData, { __index = function(t, k) if k and not (LibMapData_error_mapData == k) then LibMapData_error_mapData = k; DEFAULT_CHAT_FRAME:AddMessage("LibMapData-1.0 is missing data for "..k) end; return emptyMaps end })
(inserting 'and not (LibMapData_error_mapData == k)' into the condition and 'LibMapData_error_mapData = k;' into the true block)
| User | When | Change |
|---|---|---|
| tev1ldo | Jul 04, 2011 at 22:33 UTC | Create |
- 1 comment
- 1 comment
- Reply
- #1
Graveeater Oct 19, 2011 at 21:20 UTC - 0 likesThis is rather urgent. If you are raiding firelands this gets very spammy.
I could probably try to apply the fix presented above, but not with the current licence or an explicit permission.