Uploaded image for project: 'iDempiere'
  1. IDEMPIERE-3894

IllegalArgumentException when printing a print format with a short name

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:

      Description

      Test case:

      • Print a report for the print format of "Unit of Measure"
      • rename the print format to "UM" instead of "UOM"
      • try to print it again:
        caused by: java.lang.IllegalArgumentException: Prefix string "UM" too short: length must be at least 3
        	at java.base/java.io.File.createTempFile(File.java:2065)
        	at org.adempiere.webui.window.ZkReportViewer$HTMLRendererRunnable.doRun(ZkReportViewer.java:1610)
        

        Attachments

          Activity

            People

            • Assignee:
              carlosruiz_globalqss Carlos Ruiz
              Reporter:
              carlosruiz_globalqss Carlos Ruiz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: