Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5953

Problem with new UtilCodec code caused by HTMLEntityCodec.decode()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 14.12.01, 16.11.01
    • framework
    • None

    Description

      From Adrian on ML:

      When I navigate to https://localhost:8443/accounting/control/paymentOverview?paymentId=8004 many exceptions are thrown and the screen fails to render. I tried changing WidgetWorker.java line 74 to localRequestName = UtilCodec.canonicalize(localRequestName, false, false); which fixed the exceptions, but the generated link is wrong. I don't know how to fix it.

      Errors related to this class are also thrown at accounting/control/invoiceOverview. Setting a breakpoint at line 167 of UtilCodec.java shows that 2 HTMLEntityCodec.decode calls transforms the URL from
      EditAcctgTrans?acctgTransId=10070&organizationPartyId=10010 to
      EditAcctgTrans?acctgTransId=10070&organizationPartyId=10010 to
      EditAcctgTrans?acctgTransId=10070∨ganizationPartyId=10010.

      Not sure if the error is in class UtilCode or HTMLEntityCodec.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ofbizzer Christian Carlow
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: