Uploaded image for project: 'Pentaho Reporting and Pentaho Report Designer'
  1. Pentaho Reporting and Pentaho Report Designer
  2. PRD-5776

Unable to open saved prpt report having Japanese surrogate characters

    XMLWordPrintable

    Details

    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Tatooine (Maint)
    • Steps to Reproduce:
      Hide

      Steps to replicate the issue:

      (1) Double click "report-designer.bat" (PRD 5.4.1 or 6.1)
      (2) Click "New"
      (3) Drag "Label".
      (4) Use the Glyphs character in the below link as input to a label. Refer the screenshot attached.
      Could you refer the url (http://unicode.org/cgi-bin/GetUnihanData.pl?codepoint=20bb7)
      (5) Save the report.
      (6) Close the report.
      (7) Re-open the report.

      Show
      Steps to replicate the issue: (1) Double click "report-designer.bat" (PRD 5.4.1 or 6.1) (2) Click "New" (3) Drag "Label". (4) Use the Glyphs character in the below link as input to a label. Refer the screenshot attached. Could you refer the url ( http://unicode.org/cgi-bin/GetUnihanData.pl?codepoint=20bb7 ) (5) Save the report. (6) Close the report. (7) Re-open the report.

      Description

      When we create and save a prpt report with Japanese surrogate character (http://unicode.org/cgi-bin/GetUnihanData.pl?codepoint=20bb7), the saved report will not open in PRD.
      It results in the below error:

      org.pentaho.reporting.libraries.resourceloader.ResourceCreationException: Unable to parse the document: ResourceKey
        {schema=org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader, identifier=content.xml, factoryParameters=
        {org.pentaho.reporting.libraries.resourceloader.FactoryParameterKey
        {name=repository-loader}=org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader@39f4253b, org.pentaho.reporting.libraries.resourceloader.FactoryParameterKey
        {name=repository}=org.pentaho.reporting.libraries.repository.zipreader.ZipReadRepository@618fd7b6}, parent=ResourceKey
        {schema=org.pentaho.reporting.libraries.resourceloader.loader.file.FileResourceLoader, identifier=D:\Tickets\Masato\test.prpt, factoryParameters=
        {}, parent=null}}
      	at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory.create(AbstractXmlResourceFactory.java:214)
      

      I am also attaching the complete log and sample report.

        PractiTest Integration




          Attachments

          1. Capture1.PNG
            Capture1.PNG
            64 kB
          2. errorlog.txt
            6 kB
          3. test.prpt
            4 kB
          4. test.zip
            2 kB

            Activity

              People

              Assignee:
              Yury_Hetman Yury Hetman (Inactive)
              Reporter:
              gdev Gurudev
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: