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

Postal Address PDF Formatter Screen Problems

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Release Branch 12.04, Release Branch 13.07, Release Branch 14.12, Trunk
    • Fix Version/s: 14.12.01, 12.04.06, 13.07.03, 16.11.01
    • Component/s: party
    • Labels:
      None

      Description

      A couple updates are needed to the postalAddressPdfFormatter screen:

      First, the screen template is set to use the HTML renderer which results in this error in the log:

      [java] 2015-06-03 13:44:53,400 |0.0.0.0-8009-exec-13 |ModelScreenWidget |W| In platform-dependent could not find template for xsl-fo, using the one for html.

      Second, the various PostalAddressXXXX.fo.ftl files do not escape XML properly, and addresses with an & in them end up causing a FreeMarker template error.

        Issue Links

          Activity

          Hide
          fbr@14x.net Forrest Rae added a comment -

          Patch should work against all versions as it's fairly simple.

          Show
          fbr@14x.net Forrest Rae added a comment - Patch should work against all versions as it's fairly simple.
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          The patch sounds good, I'd have appreciated an URL or steps to reproduce, thanks!

          Show
          jacques.le.roux Jacques Le Roux added a comment - The patch sounds good, I'd have appreciated an URL or steps to reproduce, thanks!
          Hide
          fbr@14x.net Forrest Rae added a comment -

          Whoops, sorry. For number 1, just get a "Report" for a quote, and then look at your log file. For number 2, add an "General Coorespondence" address to a party that contains an ampersand, like "5th & Oak Street", create a quote for that Party, and then get the "Report" for that quote.

          Show
          fbr@14x.net Forrest Rae added a comment - Whoops, sorry. For number 1, just get a "Report" for a quote, and then look at your log file. For number 2, add an "General Coorespondence" address to a party that contains an ampersand, like "5th & Oak Street", create a quote for that Party, and then get the "Report" for that quote.
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Thanks, I will double-chech tomorrow, sounds good so far

          Show
          jacques.le.roux Jacques Le Roux added a comment - Thanks, I will double-chech tomorrow, sounds good so far
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Thanks Forrest,

          Your patch is in
          trunk r1683998
          R14.12 r1683999
          R13.07 r1684000
          R12.04 r1684001

          Show
          jacques.le.roux Jacques Le Roux added a comment - Thanks Forrest, Your patch is in trunk r1683998 R14.12 r1683999 R13.07 r1684000 R12.04 r1684001

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              fbr@14x.net Forrest Rae
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development