CurseForge

1686 - Certain comments can break site's layout

What steps will reproduce the problem? Please provide as much detail as possible.
1. View addon with a specially-formatted comment such as: http://wow.curse.com/downloads/wow-addons/details/ice-hud.aspx?CommentPage=2#530800 . Contents of said comment are provided below in case the perm-link ceases to be valid.

What is the expected output? What do you see instead?
I expected the site to retain its normal output. Instead, the header bar has moved to be on top of the header for the comment itself, and the right side bars (most popular/recommended/similar addons) are all below the comments section. In addition, all comments are indented incorrectly and do not follow the normal flow of

comment
   reply
      reply
comment
   reply

At what time and date (year, month, day) did you get this bug? (Include your timezone)
I am seeing this bug on page 2 of IceHUD's comments section (perm link above). It is currently 4:05PM (CST, GMT-6) Sunday, Auguest 9, 2009.

Please provide any additional information below.
These are the contents of the problematic comment:

Yes, I have 1.5.12

Here is the lua error message I get:

Message: Interface\AddOns\IceHUD\modules\TargetInfo.lua:1009: attempt to index field '?' (a nil value)
Time: 08/05/09 17:23:55
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:
[C]: ?
Interface\AddOns\IceHUD\modules\TargetInfo.lua:1009: in function `UpdateBuffs'
Interface\AddOns\IceHUD\modules\TargetInfo.lua:1137: in function `TargetChanged'
Interface\AddOns\IceHUD\modules\TargetInfo.lua:670: in function `Redraw'
Interface\AddOns\IceHUD\IceCore.lua:263: in function `Redraw'
Interface\AddOns\IceHUD\IceCore.lua:439: in function `SetBarTexture'
Interface\AddOns\IceHUD\IceCore.lua:506: in function `ChangePreset'
Interface\AddOns\IceHUD\IceCore.lua:502: in function `SetBarPreset'
Interface\AddOns\IceHUD\IceHUD.lua:324: in function `setFunc'
...\AddOns\Baggins\libs\Waterfall-1.0\Waterfall-1.0.lua:3458: in function
...\AddOns\Baggins\libs\Waterfall-1.0\Waterfall-1.0.lua:3490: in function

Locals: self =
{
scalingEnabled = true
elementName = "TargetInfo"
alpha = 1
unit = "target"
uid = "1E409AA0"
settings =
{
}
frame = IceHUD_TargetInfo {
}
width = 200
moduleSettings =
{
}
}
zoom = 0.08
filter = false
hostile = nil
(for index) = 1
(for limit) = 40
(for step) = 1
i = 1
buffName = nil
buffRank = nil
buffTexture = nil
buffApplications = nil
buffType = nil
buffDuration = nil
buffTimeLeft = nil
isFromMe = false
unitCaster = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"

  • curse_com_comment.png
  • curse_com_header.png
User When Change
Ackis Mon, 10 Aug 2009 14:08:41 Changed status from New to Invalid
Parnic Sun, 09 Aug 2009 21:15:35 Changed description type from Plain Text to BBCode

Changed component from None to Component #310

Changed description:
- What steps will reproduce the problem?  Please provide as much detail as possible.
+ [b]What steps will reproduce the problem?  Please provide as much detail as possible.[/b]
  1. View addon with a specially-formatted comment such as: http://wow.curse.com/downloads/wow-addons/details/ice-hud.aspx?CommentPage=2#530800 . Contents of said comment are provided below in case the perm-link ceases to be valid.
- What is the expected output? What do you see instead?
+ [b]What is the expected output? What do you see instead?[/b]
  I expected the site to retain its normal output. Instead, the header bar has moved to be on top of the header for the comment itself, and the right side bars (most popular/recommended/similar addons) are all below the comments section. In addition, all comments are indented incorrectly and do not follow the normal flow of
+ [code]
  comment
-    -reply
+    reply
-       -reply
+       reply
  comment
-    -reply
+    reply
+ [/code]
- At what time and date (year, month, day) did you get this bug? (Include your timezone)
+ [b]At what time and date (year, month, day) did you get this bug? (Include your timezone)[/b]
  I am seeing this bug on page 2 of IceHUD's comments section (perm link above). It is currently 4:05PM (CST, GMT-6) Sunday, Auguest 9, 2009.
- Please provide any additional information below.
+ [b]Please provide any additional information below.[/b]
  These are the contents of the problematic comment:
        Yes, I have 1.5.12
Parnic Sun, 09 Aug 2009 21:12:11

Added attachment curse_com_header.png

Parnic Sun, 09 Aug 2009 21:12:02

Added attachment curse_com_comment.png

Parnic Sun, 09 Aug 2009 21:07:02 Create

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

  • 3 comments
  • 3 comments

Facts

Last updated on
10 Aug 2009
Reported on
09 Aug 2009
Status
Invalid - This was not a valid report.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees