View Issue Details

IDProjectCategoryView StatusLast Update
0008114mantisbtcustomizationpublic2019-01-10 10:35
Reporterrata Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status acknowledgedResolutionopen 
PlatformWindows 
Product Version1.0.7 
Summary0008114: Clone and Move customization
Description

I have create a customisation that replaces the existing Clone button with a Clone To: button and drop down box. The drop down box lists the valid projects for the user with the current project selected by default.

To clone to the same project as the existing bug then the user only needs to click the Clone To: button. To clone the bug to another project then select the project in the drop down then click the Clone To: button. The Bug Report page opens the same as the previous clone function did but the new project title is shown against the category. The Advanced or Simple Bug Report page will open depending on the user default setting.

This customisation was developed against Mantis 1.0.7 and is working on Windows Server 2003 with Apache 2.0. It is still in Beta.

I do not have a CVS patch available.

TagsNo tags attached.
Attached Files
Clone_To.zip (32,244 bytes)
Clone To.pdf (346,510 bytes)
Clone_To_ISAC_v1.0.8.zip (34,253 bytes)

Relationships

has duplicate 0008096 closedvboctor change project of a cloned issue 
related to 0009072 new Not possible to create a clone in a different project 
related to 0020757 new Copy to "Hardcoded" project for user friendly quick copy 

Activities

vboctor

vboctor

2007-07-03 00:02

manager   ~0014847

I haven't looked at the patch, but the feature makes sense.

caiken

caiken

2007-11-08 10:04

reporter   ~0016113

Thanks for your customization! I've uploaded a new version (Clone_To_ISAC_v1.0.8.zip) which corrects a few bugs, and properly supports subprojects. Based on v1.0.8.

(Note: we have the plugin customization on our server and some of that code may be in these files as well -- doubt it though).

rata

rata

2008-02-20 02:30

reporter   ~0017117

caiken - Thanks for the additional work you did. We never used subprojects when I developed this so I overlooked them. Now we do use subprojects so I have finally got to look at your revisions and have merged them into v1.1.1. It works OK when I clone to another project but I am getting an error when I try to clone to a subproject. The error is displayed when the bug_report_page_advanced is loaded. The error says 'APPLICATION ERROR #203 A number was expected for c_pid.'. Do you have any ideas?

rata

rata

2008-02-21 01:12

reporter   ~0017132

I was able to find the problem:
In bug_report_advanced_page.php;
$c_pid = gpc_get_int( 'c_pid', 0 ); should be $c_pid = gpc_get( 'c_pid', 0 );

Bug_report_page is the same except gpc_get_int is currently gpg_get_int. Both problems can be fixed by using the line above.

caiken

caiken

2008-02-24 20:03

reporter   ~0017183

rata -- you are right, I never tested it when clone a sub-project issue. Thanks for the fix.

djcarr

djcarr

2010-06-15 20:22

reporter   ~0025862

Any chance of updating this for Mantis 1.2.1?

cor3huis

cor3huis

2011-04-30 06:28

reporter   ~0028725

Superb idea! For somewhat related info see also the forum item I've created here http://www.mantisbt.org/forums/viewtopic.php?f=3&t=19239

mantisiator

mantisiator

2016-09-01 08:19

reporter   ~0053922

Hi all,
I would like to use that interesting feature. Do you know if the current implementation is compliant with the 1.3.x version ?
Thanks a lot in advance !

mantisiator

mantisiator

2016-09-01 16:27

reporter   ~0053926

Hi,
Please disregard my last question.
As far as I understand the function has been integrated in earlier version though the Copy function located in the popup menu.
Nevertheless, this is not as user friendly as a button (similar to the "Clone To" button) within the Issue HMI. The idea would be to have the Clone To button, as well as the already implemented Copy function.

vboctor

vboctor

2016-09-05 17:06

manager   ~0053952

I agree that it is confusing to have a Clone and a Copy function and also to have Clone on the issue itself (which is more discoverable) and Copy on the issue group actions list in View Issues page (which is used less). Ideally, we would have something similar to the Clone To proposed here that includes both functionality.

titovetch

titovetch

2019-01-10 10:35

reporter   ~0061201

do we have a plan for v2 ? or patch