Content
View differences
Updated by Andrej Sandorf 12 months ago
### Steps to reproduce
1. Create a work package custom field of type Hierarchy
2. Export the work package to PDF pdf
### What is the buggy behavior?
* In the exported hierarchy field the output is only the item name (without displaying the full hierarchy)
* This create confution when two hierarchy branches have an item of the same name
For exemple if the hierarchy looks like this : :
* Supplier (SUPL)
* Documentation (DOC)
* Customer (CUST)
* Documentation (DOC)
There is no way to differentiate those two items in the PDFexport (also CSV/XLS if the field is used as a column in the work package table). pdf export.
### What is the expected behavior?
* The formatting shows pdf field should show the full hierarchy path for each item as displayed in the browser (i.e : `Supplier / Documentation` )
* or to save space on pdf export with long hierarchies, the hierarchy could be displayed as short names (i.e : `SUPL / DOC` )
### Screenshots and other files
<figure class="image image_resized op-uc-figure" style="width:678px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/257671/content"></div><figcaption class="op-uc-figure--description">Behaviour on Open Project V15.1.0</figcaption></figure>
### Environment information
**OpenProject installation type**
* Self-Hosted
* Packaged installation
* Ubuntu
**OpenProject version**
_V15.0.1_
1. Create a work package custom field of type Hierarchy
2. Export the work package to PDF
### What is the buggy behavior?
* In the exported hierarchy field the output is only the item name (without displaying the full hierarchy)
* This create confution when two hierarchy branches have an item of the same name
For exemple if the hierarchy looks like this :
* Supplier (SUPL)
* Documentation (DOC)
* Customer (CUST)
* Documentation (DOC)
There is no way to differentiate those two items in the PDFexport (also CSV/XLS if the field is used as a column in the work package table).
### What is the expected behavior?
* The formatting shows
* or to save space on pdf export with long hierarchies, the hierarchy could be displayed as short names (i.e : `SUPL / DOC` )
### Screenshots and other files
<figure class="image image_resized op-uc-figure" style="width:678px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/257671/content"></div><figcaption class="op-uc-figure--description">Behaviour on Open Project V15.1.0</figcaption></figure>
### Environment information
**OpenProject installation type**
* Self-Hosted
* Packaged installation
* Ubuntu
**OpenProject version**
_V15.0.1_