# Bug OP-15119 - PDF report: multi column table with pictures not included

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-15119

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.3.0 |
| Observed in versions | 14.0.0 |
| Sprint | 14.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Andrej Sandorf |
| Product manager |  |
| Developers | Andrej Sandorf |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

*Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:*

1.  Login as a user with permissions edit work packages

2.  navigate to a project of your choice and create a new work package (e.g. *tasks 1*)

3.  Add a 3 column table to the work package description

4.  Add text to each cell

5.  Add an image to cell A1 in between the text

6.  Save your entry and go back to the work package table

7.  Perform an export from type *PDF Report with images*

### What is the buggy behavior?

*Please describe the bug in as much detail as possible. Example:*

  - The table from the work package description you just added will not be displayed in the PDF report.

This will not be included in the PDF report (steps mentioned before)⤵️

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/104675/content">

On the other side, the same table with less text in cell A1 gets printed when exporting to pdf with images. ⤵️

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/104676/content">

Finally, the same table with a medium size text, generates a report, prints the table but the text overflows the cell boundaries. ⤵️

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/104677/content">

### What is the expected behavior?

*Describe how the application should behave like. Example:*

1.  The table is part of the PDF report

2.  If a table cannot be included (e.g. too large, formatting issue..), the user should be informed about this

### **Logs**

*Failed to draw markdown field to pdf because of non fitting content: Table's width was set too small to contain its contents (min width 631.904, requested 449.86)*

### Screenshots and other files

*see above*

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

- [ ] Hosted cloud edition

- [ ] Packaged installation
  
    - What distribution?

- [x] Docker All-in-one container

- [ ] Docker-compose installation

- [ ] Other (please specify)

**OpenProject version**

*14.0.1*

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Language**

*DE / EN tested*

*Mentioned in support ticket:  15589*
