Skip to content

Export to PDF Issue on SQL Console #3116

@kkadir

Description

@kkadir

Description of bug

When a query result on the SQL Console has long text cells, which are wrapped in the result table; then the first exported PDF is normal but next exported PDF files are distorted as wrapped texts are not wrapped anymore on PDF files.

Steps to reproduce

List the steps to reproduce the behavior:

  1. Log in as a Super User
  2. Go to Persona Bar > Settings > SQL Console
  3. Write a query like SELECT * FROM Tabs and click the "Run Script" button
  4. Observe that the result table is generated and some columns like IconFile, VersionGuid, UniqueId and etc. have wrapped long texts.
  5. Click on Export > Export to PDF and wait for the PDF to be generated and downloaded.
  6. Open the PDF file and see that it is normal; all long texts are wrapped as expected.
  7. Click on Export > Export to PDF and wait for the PDF to be generated and downloaded for a second time.
  8. Open the PDF file and see that, this time long texts are not wrapped and the PDF layout is distorted.

Current result

PDF files containing long text values in any table cell are distorted after 2nd export.

Expected result

PDF files should be consistently generated as the same without any distortion.

Screenshots

1st Export

image

2nd Export

image

Error log

N/A

Additional context

Note that non-wrapped texts do not have any separators or spaces.

Affected version

  • 9.3.2
  • 9.3.1
  • 9.2.2
  • 9.2.1
  • 9.2
  • 9.1.1
  • 9.1
  • 9.0

Affected browser

  • Chrome
  • Firefox
  • Safari
  • Internet Explorer
  • Edge

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions