Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320445

Summary: ArtifactForm widget does not handle xml reserved characters properly
Product: [Technology] OSEE Reporter: Nobody - feel free to take it <nobody>
Component: Action Tracking System (ATS)Assignee: Nobody - feel free to take it <nobody>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nobody, ryan.d.brooks
Version: unspecified   
Target Milestone: 0.9.5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Combined changes
none
Forgot to attach the widget where change was applied.
none
small change to a dependent class
none
small change to another class
none
Reserved Characters - 7 files changes ryan.d.brooks: iplog+

Description Nobody - feel free to take it CLA 2010-07-20 17:17:07 EDT
Build Identifier: 

When ArtifactForm widget sets text property on some its internal labels, certain characters are handled properly resulting in an exception.

Reproducible: Always
Comment 1 Nobody - feel free to take it CLA 2010-07-20 17:57:13 EDT
Created attachment 174795 [details]
Combined changes

3 General changes
- ReservedCharacters.java replaces HtmlReservedCharacters.java
- ReservedCharactersTest.java unit test for ReservedCharacters.java
- JdkCoreUtilTestSuite.java added ReservedCharactersTest to the suite
Comment 2 Nobody - feel free to take it CLA 2010-07-20 17:59:56 EDT
Created attachment 174796 [details]
Forgot to attach the widget where change was applied.

Applied code change to hand off non safe strings to a ReservedCharacters
Comment 3 Nobody - feel free to take it CLA 2010-07-20 18:07:17 EDT
Created attachment 174798 [details]
small change to a dependent class
Comment 4 Nobody - feel free to take it CLA 2010-07-20 18:48:14 EDT
Created attachment 174802 [details]
small change to another class
Comment 5 Nobody - feel free to take it CLA 2010-07-21 18:58:59 EDT
Created attachment 174929 [details]
Reserved Characters - 7 files changes

- HtmlReserverdCharacters.java
+ ReservedCharacters.java
M XmlTextInputStream.java
M ReservedCharactersTest.java
M AXml.java
M ArtifactFormPage.java
M JdkCoreUtilTestSuite.java
Comment 6 Ryan Brooks CLA 2010-07-21 20:13:28 EDT
Applied patch in SVN revision 28299.

In addition to the patch, I made a trivial change to WordsUtil.java due to the rename of HtmlReservedCharacters.java.
Comment 7 Ryan Brooks CLA 2010-07-21 20:17:50 EDT
Applied rest of the patch in SVN revision 28300.
Comment 8 Ryan Brooks CLA 2010-12-14 13:14:12 EST
OSEE 0.9.5 has been released.