Content
View differences
Updated by Oliver Günther over 2 years ago
OpenProject 13.0.0 introduced a PDF export that respects the hierarchy of the exported work packages (in most parts). The CSV and XLS exports however do not export them, even if the query being exported has hierarchy mode on.
This is very confusing to users.
Potentially linked to <mention class="mention" data-id="34971" data-type="work_package" data-text="#34971">#34971</mention> .
### Steps to reproduce
1. Create new Project
2. Create three User Stories after another (consecutive IDs)
3. After creating all three stories, create subpackages (here: Tasks) for each of those stories after another
4. Go to packages list as hierarchy-grouped view
5. Click "Export > CSV" or "Export > Excel"
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* The grouping / sorting of entries in CSV / Excel is broken for subpackages
* subpackages of a package will be together far down in the list (because of their ID?)
* This behaviour changed from 12.x where subpackages were grouped correctly
* which is also the expected behaviour in the "hierarchy" grouping (and most probably the reason why PDF respects it)
### What is the expected behavior?
1. Subpackages of a parent will display in a list directly after that parent
2. Only after all subpackges of the same parent has been listed, the next package will be included in the list
### Screenshots and other files
One screenshot showing:
* Top left the List of packages and their parents / childs
* Bottom left: Export as "PDF Table" (correctly grouped)
* Top Right: Export as Excel (opened in Mac numbers): Order of lines incorrect
* Bottom right: Export as CSV (opened in Mac numbers): Order of lines incorrect
I do have confirmed, that the CSV has the lines in this order in raw data (opened in texteditor)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/68852/content">
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [x] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
v13.0.2, Enterprise-Edition
_(First time of occurence: v13.0.0)_
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
German, de
This is very confusing to users.
Potentially linked to <mention class="mention" data-id="34971" data-type="work_package" data-text="#34971">#34971</mention> .
###
1. Create new Project
2. Create three User Stories after another (consecutive IDs)
3. After creating all three stories, create subpackages (here: Tasks) for each of those stories after another
4. Go to packages list as hierarchy-grouped view
5. Click "Export > CSV" or "Export > Excel"
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* The grouping / sorting of entries in CSV / Excel is broken for subpackages
* subpackages of a package will be together far down in the list (because of their ID?)
* This behaviour changed from 12.x where subpackages were grouped correctly
* which is also the expected behaviour in the "hierarchy" grouping (and most probably the reason why PDF respects it)
### What is the expected behavior?
1. Subpackages of a parent will display in a list directly after that parent
2. Only after all subpackges of the same parent has been listed, the next package will be included in the list
###
One screenshot showing:
* Top left the List of packages and their parents / childs
* Bottom left: Export as "PDF Table" (correctly grouped)
* Top Right: Export as Excel (opened in Mac numbers): Order of lines incorrect
* Bottom right: Export as CSV (opened in Mac numbers): Order of lines incorrect
I do have confirmed, that the CSV has the lines in this order in raw data (opened in texteditor)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/68852/content">
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [x] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
v13.0.2, Enterprise-Edition
_(First time of occurence: v13.0.0)_
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
German, de