[Rt-commit] rt branch, 4.4/dont-clone-time-fields, created. rt-4.2.0-34-g1a2493d

Alex Vandiver alexmv at bestpractical.com
Wed Oct 29 11:23:39 EDT 2014


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

- Log -----------------------------------------------------------------
commit 1a2493db745e994e903b2bd1ecd5eea389e14e42
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
new file mode 100644
index 0000000..286e293
--- /dev/null
+++ b/docs/UPGRADING-4.4
@@ -0,0 +1,11 @@
+=head1 UPGRADING FROM RT 4.2.0 and greater
+
+=over
+
+=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
diff --git a/share/html/Ticket/Create.html b/share/html/Ticket/Create.html
index ef1fd3a..c227260 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->$_->Unix }

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


More information about the rt-commit mailing list