Content
Updated by Andrej Sandorf 16 days ago
### Steps to reproduce
1. Edit the work package configuration form of a specific work package type
2. Add a new table of related work packages
1. Select children
2. Add a filter filters as desired
3. Edit columns as desired
3. Save the work package configuration form.
4. Create a work package of the specific work package type
5. Add children via the table of related work packages
6. Export PDF by selecting "Generate PDF" using default settings
7. Edit the query for the table of related work packages, apply any of the following changes
1. Remove a column, or
2. Add a column, or
3. Change highlighting settings
8. Save the work package configuration form.
9. Refresh the details view of the work package and see the changes to the table of associated work packages are correctly displayed.
10. Export PDF as in step 6 and compare. The new PDF displays "\[No work packages\]" in the PDF instead of the list of work packages which was correctly displayed in step 6 and 9.
### What is the buggy behavior?
The table of related work packages is correctly shown in the work package details, but in the exported PDF, it shows "\[No work packages\]". packages\]".
The bug is hard to observe as the functionality seems to work flawlessly if the query for the table of related work packages in the work package configuration form is saved and not updated.
### What is the expected behavior?
Table of related work packages should be the same in the work package details and the exported PDF. It should be possible to update queries for tables of related work packages without impact on PDF export. export.
Workaround:
1. Delete the query for table of related work packages
2. Save the work package configuration form
3. Create a new query for table of related work work
### Important note
_Please note that unless you are a contributor to OpenProject, you can no longer edit this bug report after saving. You can still add new comments, new images and upload attachments though, but updating description or modifying fields will not be possible after saving. Please make sure that all necessary information and attachments are added, and the following attributes are set:_
### **Logs**
_Are there errors in the browser console? (_[_Click here for information on how to open your browser's console_](https://webmasters.stackexchange.com/a/77337)_) For a local installation: Are there relevant logs output by_ `_openproject logs_` _(packaged installation) (_[_click here for details_](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)_) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable_
### Screenshots and other files
_If you have screenshots of the application's bug behavior or other relevant files, please drag them into this place or attach them using the "Files" section._
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/585729/content"></div><figcaption class="op-uc-figure--description">Screenshot from exported PDF showing &amp;quot;[No &amp;quot;[No work packages]&amp;quot; packages]&amp;quot; where in the work package details there are work packages correctly shown. </figcaption></figure>
### 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
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [x] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_EN_
1. Edit the work package configuration form of a specific work package type
2. Add a new table of related work packages
1. Select children
2. Add a filter
3. Edit columns as desired
3. Save the work package configuration form.
4. Create a work package of the specific work package type
5. Add children via the table of related work packages
6. Export PDF by selecting "Generate PDF" using default settings
7. Edit the query for the table of related work packages, apply any of the following changes
1. Remove a column, or
2. Add a column, or
3. Change highlighting settings
8. Save the work package configuration form.
9. Refresh the details view of the work package and see the changes to the table of associated work packages are correctly displayed.
10. Export PDF as in step 6 and compare. The new PDF displays "\[No work packages\]" in the PDF instead of the list of work packages which was correctly displayed in step 6 and 9.
The table of related work packages is correctly shown in the work package details, but in the exported PDF, it shows "\[No work packages\]".
The bug is hard to observe as the functionality seems to work flawlessly if the query for the table of related work packages in the work package configuration form is saved and not updated.
### What is the expected behavior?
Table of related work packages should be the same in the work package details and the exported PDF. It should be possible to update queries for tables of related work packages without impact on PDF export.
Workaround:
1. Delete the query for table of related work packages
2. Save the work package configuration form
3. Create a new query for table of related work
### Important note
_Please note that unless you are a contributor to OpenProject, you can no longer edit this bug report after saving. You can still add new comments, new images and upload attachments though, but updating description or modifying fields will not be possible after saving. Please make sure that all necessary information and attachments are added, and the following attributes are set:_
### **Logs**
_Are there errors in the browser console? (_[_Click here for information on how to open your browser's console_](https://webmasters.stackexchange.com/a/77337)_) For a local installation: Are there relevant logs output by_ `_openproject logs_` _(packaged installation) (_[_click here for details_](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)_) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable_
### Screenshots and other files
_If you have screenshots of the application's bug behavior or other relevant files, please drag them into this place or attach them using the "Files" section._
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/585729/content"></div><figcaption class="op-uc-figure--description">Screenshot from exported PDF showing &amp;quot;[No
### 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
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [x] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_EN_