# Bug OP-19798 - PDF Export: Empty hierarchy custom fields appear as "not found" in PDF instead of empty

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Export / PDF Export |
| Target versions | 17.7.0 |
| Observed in versions | 17.6.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.6.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 a user with permission to export a work package
    
2.  Have a custom field of type hierarchy in a form configuration
    
3.  Export the work package as PDF
    

### What is the buggy behavior?

*   The field value displays &quot;not found&quot;
    

### What is the expected behavior?

*   The field should be displayed as empty
    

### Screenshots and other files

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/922976/content" alt="on the web"></div><figcaption class="op-uc-figure--description">on the web</figcaption></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/922978/content"></div><figcaption class="op-uc-figure--description">in the pdf</figcaption></figure>

###   
Environment information

**OpenProject installation type**

*   All
    

**OpenProject version**

*   17.6
    

**Browser**

*   All
    

**Operating System**

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

**Language**

*   EN
