Bug 6033

Summary: Task.html has duplicate attribute class, attribute name not allowed errors
Product: [Build System, Metadata & Runtime] Toaster Reporter: David Reyna <david.reyna>
Component: toasterAssignee: Belen Barros Pena <belen.barros.pena>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, Yuan.Sun2
Version: 1.6   
Target Milestone: 1.6 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description David Reyna 2014-03-25 03:41:09 UTC
HTML Validator reveals 2 HTML5 formatting errors per task header, specifically: 

CODE: <tr {{ task|task_color }} class="flash" id="{{task.order}}" name="{{task.order}}">

OUTPUT:  <tr class=muted class="flash" id="3" name="3">
-------------------------^
----------------------------------------------^

ERRORS:
line 357 column 30 - Error: Duplicate attribute class.
line 357 column 54 - Error: Attribute name not allowed on element tr at this point.


Note: there are two class fields generated when the task is supposed to be muted.
Comment 1 Belen Barros Pena 2014-03-25 10:07:21 UTC
I can take this one
Comment 3 David Reyna 2014-04-09 23:22:22 UTC
commit 6831b7ad16e11ed0f3bf24a0cef5ba7612a9bae0
Comment 4 Yuan Sun 2014-04-17 03:33:51 UTC
Verified in ea90bd054c449a8e19c474c8bfa8c289f692c33f.