[KULRICE-14257] Invalid Unicode control characters cause failures in serializing document fields for SOAP requests Created: 04/Jun/15  Updated: 04/Jun/15  Resolved: 04/Jun/15

Status: Closed
Project: Kuali Rice Development
Component/s: Development
Affects Version/s: None
Fix Version/s: 2.6
Security Level: Public (Public: Anyone can view)

Type: Bug Fix Priority: Major
Reporter: Francis Fernandez Assignee: Shannon Hess
Resolution: Fixed Votes: 0
Labels: ASAP, IU_Bug_Fix_Contribution
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Rice Module:
KEW
Sprint: Rice Sprint 2015-05-13
KAI Review Status: Not Required
KTI Review Status: Not Required
Code Review Status: Not Required
Contributing Institution: Indiana Univ
Include in Release Notes?:
Yes

 Description   

Documents (or any entity transferred over SOAP) which contain fields with user-entered Strings (generally the title) can contain Unicode control characters that are invalid under the XML 1.0 standard. Serializing and deserializing such a document will cause a SOAP exception.



 Comments   
Comment by Francis Fernandez [ 04/Jun/15 ]

Created Pull Request #178

Comment by Claus Niesen [ 04/Jun/15 ]

Shannon, can you review the contribution. Specifically if the xalan dependency is needed. I think the dependency should probably have an explicit version number set. BTW, the pull request test job has been started already. Thanks.

Comment by Shannon Hess [ 04/Jun/15 ]

Thanks for creating the pull request, I'll take a look.

Comment by Shannon Hess [ 04/Jun/15 ]

This looks good. I brought in the patch and ran the test. The xalan dependency is needed to bring in org.apache.xml.utils.XMLChar. There is no version but that is typical for dependencies in rice-middleware/kew/api/pom.xml. The version for xalan is set in the overall rice pom.xml ( <xalan.version>2.7.2</xalan.version> ).

Comment by Shannon Hess [ 04/Jun/15 ]

The pull request has been merged

Comment by Claus Niesen [ 04/Jun/15 ]

Thanks Francis and Shannon.

Generated at Thu Oct 22 18:48:24 CDT 2020 using JIRA 7.0.11#70121-sha1:19d24976997c1d95f06f3e327e087be0b71f28d4.