# Bug OP-18387 - Error in PDF exports if font file storage is broken

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Export / PDF Export |
| Target versions | 17.1.0 |
| Observed in versions | 17.0.0 |
| Sprint | 17.1.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.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 |  |
| 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

1.  Login as system admin

2.  Go to a meeting

3.  With a broken ttf font file storage in S3  
    unknown how to reproduce, but related to <mention class="mention" data-id="57612" data-type="work_package" data-text="#57612">#57612</mention> and <mention class="mention" data-id="44939" data-type="work_package" data-text="#44939">#44939</mention> and primarily <mention class="mention" data-id="67626" data-type="work_package" data-text="###67626">\#\#\#67626</mention>

4.  Trigger meeting PDF export

### What is the buggy behavior?

  - PDF file is not produced

  - Error message is displayed: *Something went wrong. The PDF export could not be saved: undefined method 'body' for nil*

### What is the expected behavior?

*A meeting PDF should be created regardless of broken font storage*

### 

### Screenshots and other files

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

### Environment information

  - Hosted cloud edition

**OpenProject version**

*17.0.0*

**Browser**

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

**Operating System**

- [ ] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)

**Language**

*English*
