[Rt-commit] rt branch, 4.4/dont-clone-time-fields, created. rt-4.2.5-208-g15e5599

Alex Vandiver alexmv at bestpractical.com
Wed Oct 29 11:25:46 EDT 2014


The branch, 4.4/dont-clone-time-fields has been created
        at  15e55997773d4457bfe8a9645d29409012cd332f (commit)

- Log -----------------------------------------------------------------
commit 15e55997773d4457bfe8a9645d29409012cd332f
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Jan 27 17:14:25 2014 -0500

    Don't clone TimeWorked and friends when creating child tickets
    
    Doing so causes inconsistencies in time reporting, as the time worked
    appears on multiple tickets.

diff --git a/docs/UPGRADING-4.4 b/docs/UPGRADING-4.4
index 4c8c90a..5d75727 100644
--- a/docs/UPGRADING-4.4
+++ b/docs/UPGRADING-4.4
@@ -20,6 +20,12 @@ You can now split settings from F<RT_SiteConfig.pm> into separate files under
 an F<etc/RT_SiteConfig.d/> directory. All files ending in C<.pm> will be
 parsed, in alphabetical order, after the main F<RT_SiteConfig.pm> is loaded.
 
+=item *
+
+When creating linked tickets from the Links box, Time Worked, Time
+Estimated, and Time Left will no longer be copied.  This simplifies time
+reporting.
+
 =back
 
 =cut
diff --git a/share/html/Ticket/Create.html b/share/html/Ticket/Create.html
index d7323bd..c428247 100644
--- a/share/html/Ticket/Create.html
+++ b/share/html/Ticket/Create.html
@@ -308,8 +308,7 @@ if ($CloneTicket) {
     };
 
     $clone->{$_} = $CloneTicketObj->$_()
-        for qw/Owner Subject FinalPriority TimeEstimated TimeWorked
-        Status TimeLeft/;
+        for qw/Owner Subject FinalPriority Status/;
 
     $clone->{$_} = $CloneTicketObj->$_->AsString
         for grep { $CloneTicketObj->$_->IsSet }

-----------------------------------------------------------------------


More information about the rt-commit mailing list