Defect #13328

Copying an issue as a child of itself creates an extra issue

Added by Toru Haraguchi over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Issues
Target version:2.3.0
Resolution:Fixed Affected version:2.2.2

Description

Symptom

Original:
+---------+    +---------+
| Ticket1 +-+--| Ticket2 |
+---------+ |  +---------+
            |  +---------+
            +--| Ticket3 |
               +---------+
           |
Copy Operation:
           |
           V
Original:
+---------+    +---------+
| Ticket1 +-+--| Ticket2 |
+---------+ |  +---------+
            |  +---------+
            +--| Ticket3 |
            |  +---------+
            |  Copy:
            |  +---------+    +---------+
            +--+ Ticket1'+-+--| Ticket2'|
               +---------+ |  +---------+
                           |  +---------+
                           +--| Ticket3'|
                           |  +---------+
                           |  +----------+
                           +--+ Ticket1''| <== excess
                              +----------+

How to reproduce
  • Open a ticket "A" with one or more child ticket
  • Click on "copy" link
  • enter the ID of "A" into "parent ID" field on the form
  • Click "send" button

Associated revisions

Revision 11513
Added by Jean-Philippe Lang over 4 years ago

Fixed that copying an issue as a child of itself creates an extra issue (#13328).

Revision 11515
Added by Jean-Philippe Lang over 4 years ago

Merged r11513 from trunk (#13328).

History

#1 Updated by Jean-Philippe Lang over 4 years ago

  • Subject changed from Grafting a copy of tickets tree to itself causes an excessive ticket to Copying an issue as a child of itself creates an extra issue
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.3.0
  • Resolution set to Fixed

Fixed in r11513, thanks for pointing this out.

Also available in: Atom PDF