View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008114 | mantisbt | customization | public | 2007-07-01 21:25 | 2019-01-10 10:35 |
Reporter | rata | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | acknowledged | Resolution | open | ||
Platform | Windows | ||||
Product Version | 1.0.7 | ||||
Summary | 0008114: 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. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
I haven't looked at the patch, but the feature makes sense. |
|
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). |
|
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? |
|
I was able to find the problem: 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. |
|
rata -- you are right, I never tested it when clone a sub-project issue. Thanks for the fix. |
|
Any chance of updating this for Mantis 1.2.1? |
|
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 |
|
Hi all, |
|
Hi, |
|
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. |
|
do we have a plan for v2 ? or patch |
|