Content
View differences
Updated by Sven Kunze almost 3 years ago
# Situation
### Steps to reproduce
1. create work-package A
2. create work-package B
3. create a relationship between A and B
4. bulk copy A and B as A' and B'
### What is the buggy behavior?
* there is no relationship between A' and B'
### What is the expected behavior?
1. relational information between A' and B' is retained (like when moving in bulk)
2. should work with all types of relationships (e.g. parent-child, follows-preceeds, etc.)
# Details
* add behavior of copying relationships to https://github.com/opf/openproject/blob/dev/app/services/work\_packages/bulk/copy\_service.rb
* add a checkmark to disallow/allow the current behavior
### Steps to reproduce
1. create work-package A
2. create work-package B
3. create a relationship between A and B
4. bulk copy A and B as A' and B'
### What is the buggy behavior?
* there is no relationship between A' and B'
### What is the expected behavior?
1. relational information between A' and B' is retained (like when moving in bulk)
2. should work with all types of relationships (e.g. parent-child, follows-preceeds, etc.)
# Details
* add behavior of copying relationships to https://github.com/opf/openproject/blob/dev/app/services/work\_packages/bulk/copy\_service.rb
* add a checkmark to disallow/allow the current behavior