View Issue Details

IDProjectCategoryView StatusLast Update
0004506mantisbtrelationshipspublic2004-11-06 06:24
ReporterTomR Assigned Tomasc  
PrioritynormalSeveritytextReproducibilityalways
Status closedResolutionfixed 
Fixed in Version0.19.1 
Summary0004506: When cloning a bug you should be able to set the relationship
Description

Either by hand or defaulted in config file.

TagsNo tags attached.

Activities

masc

masc

2004-09-08 08:11

reporter   ~0007484

The relationship "parent-of" is automatically set during the creation phase of the cloned bug. It it right? Or you have discovered a different behaviour.

TomR

TomR

2004-09-08 08:43

reporter   ~0007487

No that is correct, however I would like to be able to choose the kind of relationship. Sometimes I would have the cloned bug to be a child of, sometimes related to. But definitly not parent of.

I use it in two ways:

Either like a template for multiple issues with same base, in that case i would like the cloned bug have a relation child of the original.

Other use is when we got bugs from different customers which we self rreport in the systen and are similar, the we would like related to.

A solution would be tho put in the config file if you want to set the relationship type when cloning a bug. Second put an option in as default type for the relationship type.

masc

masc

2004-09-08 09:43

reporter   ~0007494

Now I understand.
We can add a listbox in the report page in which the submitter can select which type of relationship to set between the two bugs (the source one and the cloned one).

stevemagruder

stevemagruder

2004-09-27 12:42

reporter   ~0007772

This sounds like a good idea.

Question: When you say 'clone', do mean that you're clicking the 'Create Child' button? If so, with the proposed change, I suppose this button would then read 'Create Clone'. Or am I missing something?

vboctor

vboctor

2004-09-28 05:24

manager   ~0007782

I think this is a good idea. I think we should do the following:

  • Change "Create Child" to "Clone".
  • When updating the info of the cloned issue, the user gets to choose on of the following relationships:
    o Not Related to Source Issue
    o Child of Source Issue
    o Parent of Source Issue
    o Related to Source Issue

I think "duplicate of" doesn't make sense, or does it? Should we add it anyway and leave it up to the user to decide?

As usual, ideas are welcome.

TomR

TomR

2004-09-28 06:38

reporter   ~0007785

Duplicate of does not make sense to me either.

masc

masc

2004-09-28 06:54

reporter   ~0007786

I quite completed the patch to fix this item. I'm going to send it later on today or tomorrow.

stevemagruder

stevemagruder

2004-09-28 10:24

reporter   ~0007804

As I noted in a forum thread, I don't think "parent of" and "child of" make complete sense (i.e., to a non-programmer, it's reverse-logic for a parent to be dependent on a child). Could these be changed to "dependent on" and "prereq of"?

grangeway

grangeway

2004-10-05 16:12

reporter   ~0007920

Patch from Masc For this issue and other issues committed:
Fix 0004506: When cloning a bug you should be able to set the relationship
Fix 0004484: Show which project a related issue belongs to
Fix 0004184: Related issues resolved email should be more informative
Fix 0004224: Can't resolve issue as duplicate of other with existing "related to" relationship

Related Changesets

MantisBT: master 3df7d2c5

2004-10-05 17:12

Paul Richards


Details Diff
Commit of Masc's Patches:
Fix 0004506: When cloning a bug you should be able to set the relationship
Fix 0004484: Show which project a related issue belongs to
Fix 0004184: Related issues resolved email should be more informative
Fix 0004224: Can't resolve issue as duplicate of other with existing "related to" relationship

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@3037 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0004184, 0004224, 0004484, 0004506
mod - core/relationship_api.php Diff File
mod - core/email_api.php Diff File
mod - bug_relationship_delete.php Diff File
mod - lang/strings_italian.txt Diff File
mod - bug_report_page.php Diff File
mod - core/bug_api.php Diff File
mod - bug_relationship_add.php Diff File
mod - core/constant_inc.php Diff File
mod - bug_report.php Diff File
mod - bug_report_advanced_page.php Diff File
mod - core/history_api.php Diff File
mod - lang/strings_english.txt Diff File