Allow multiple relationships between two issues
This happens in the current version of redmine from git (svn r13129), with mysql 14.14.Steps to reproduce:
- Create an issue
- Create a copy of that issue
- Attempt to create a relation between the issues (e.g. set the copy to FOLLOW the original)
An error will occur:
ActiveRecord::RecordNotUnique (Mysql2::Error: Duplicate entry '31-40' for key 'index_issue_relations_on_issue_from_id_and_issue_to_id': INSERT INTO `issue_relations` (`delay`, `issue_from_id`, `issue_to_id`, `relation_type`) VALUES (0, 31, 40, 'precedes')):
This index effectively prevents you from creating two relations between the same pair of issues. Shouldn't this combination of relationships be ok?
#2 Updated by Mischa The Evil almost 7 years ago
@ go2null wrote:
[...] or at least turned into a Feature request to allow multiple relationships between two issues.
Such already exists as #8628 which has some patches too. Initial request is for 'related to' relation but the patches includes a fix for 'copied to/from' relations also.