FLUID-4077: RendererUtilities Test failed on IE7 - messagekey with no value

Metadata

Source
FLUID-4077
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Harris Wong
Created
2011-02-17T16:08:56.764-0500
Updated
2011-02-23T10:06:49.987-0500
Versions
N/A
Fixed Versions
  1. 1.3.1
Component
  1. Renderer

Description

Go to http://build.fluidproject.org/infusion/tests/framework-tests/renderer/html/RendererUtilities-test.html with IE7.
You will see #4 fails as follow:

Renderer component tests: FLUID-3819 test: messagekey with no value (1, 2, 3)

Nonexisting string relative should be notified
Expected: "[No messagecodes provided]"
Result: "[No messagecodes provided][No messagecodes provided]"
Diff: "[No messagecodes provided][No messagecodes provided]"

Environments

IE7

Comments

  • Antranig Basman commented 2011-02-18T01:33:33.827-0500

    I could verify this on IE6 as well.
    The issue here is that the test markup is somewhat "corrupt" - it includes a bare <li> tag without enclosing <ul> or <ol>. On all modern browsers (including IE8) this is fine, but on earlier IEs (6 and 7) the template will be corrupted during extraction via innerHTML. This causes the final rendered tree to be similarly corrupt, containing duplicated tags for the original li and contained message, leading to the test case failure.