View Issue Details

IDProjectCategoryView StatusLast Update
0006773mantisbtrelationshipspublic2007-08-02 02:28
Reporterkgrubbs Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.1 
Fixed in Version1.1.0a4 
Summary0006773: When cloning an issue, cannot make it "not related" to parent issue
Description

We have similar tasks that we do several times and all we need to do is change the summary and description a little bit. So I used the "clone issue" feature to do this, but I dont want the new issue to be related to the original one. Can we get a "not related" item in the "Relationship with the parent issue" droplist?

TagsNo tags attached.

Relationships

has duplicate 0005755 closedthraxisp Missing no_relationship 

Activities

ryandesign

ryandesign

2006-03-03 08:27

reporter   ~0012275

Good idea; I've often wanted this too. Another option would be to just put a checkbox before the relationship option, though the current Mantis interface isn't laid out in the best way for this. Maybe a "not related to" menu selection is the easiest after all.

kgrubbs

kgrubbs

2006-03-03 12:31

reporter   ~0012279

I tracked this down and it is a simple fix. There is already a function in relationship_api.php I think that was intended for this. It is called relationship_list_box_for_cloned_bug().

So the two places you need to change this are:
bug_report_advanced_page.php line 443
bug_report_page.php line 331

Calling this function puts these items in the dropbox:
No Relationship
Related To
Parent Of
Child Of

The things it would remove would be:
Duplicate of
Has Duplicate

Which I think are pointless anyway when you are cloning an issue, but it appears other people are requesting this feature (0005113) so it wouldnt bother me to leave it in.