Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-14257

Invalid Unicode control characters cause failures in serializing document fields for SOAP requests

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • 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.

        Attachments

          Activity

          Hide
          cniesen Claus Niesen added a comment -

          Thanks Francis and Shannon.

          Show
          cniesen Claus Niesen added a comment - Thanks Francis and Shannon.
          Hide
          shahess Shannon Hess added a comment -

          The pull request has been merged

          Show
          shahess Shannon Hess added a comment - The pull request has been merged
          Hide
          shahess Shannon Hess added a comment -

          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> ).

          Show
          shahess Shannon Hess added a comment - 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> ).
          Hide
          shahess Shannon Hess added a comment -

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

          Show
          shahess Shannon Hess added a comment - Thanks for creating the pull request, I'll take a look.
          Hide
          cniesen Claus Niesen added a comment -

          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.

          Show
          cniesen Claus Niesen added a comment - 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.
          Hide
          fraferna Francis Fernandez added a comment -

          Created Pull Request #178

          Show
          fraferna Francis Fernandez added a comment - Created Pull Request #178

            People

            • Assignee:
              shahess Shannon Hess
              Reporter:
              fraferna Francis Fernandez
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: