[Rt-commit] rt branch, 4.2/cron-template-caching, repushed

Alex Vandiver alexmv at bestpractical.com
Wed May 7 11:24:28 EDT 2014


The branch 4.2/cron-template-caching was deleted and repushed:
       was ec268318f431486187af0a0d9f43b76408505014
       now b6efaa8efec765d2217a37856766a61d8db244d5

1:  ec26831 ! 1:  b6efaa8 Remove caching of template objects in rt-crontool
    @@ -1,8 +1,8 @@
     Author: Alex Vandiver <alexmv at bestpractical.com>
     
    -    Remove caching of template objects in rt-cronjob
    +    Remove caching of template objects in rt-crontool
         
    -    rt-cronjob has cached lookup of the the name of the template ever since
    +    rt-crontool has cached lookup of the the name of the template ever since
         3.8, when the ability to specify a template by name was introduced.  The
         template object is modified in memory when ->Parse is called, however,
         updating its ->MIMEObj.  This was not a problem because
    @@ -10,7 +10,7 @@
         ->MIMEObj.
         
         Unfortunately, a1a4f73e caused Template objects which already had a
    -    MIMEObj to retain them.  In the context of rt-cronjob, this causes the
    +    MIMEObj to retain them.  In the context of rt-crontool, this causes the
         same content (that formed from the first matching ticket) to be sent out
         on all tickets whenever RT::Action::SendEmail is used as the target
         action.  RT::Action::RecordCorrespondence is unaffected, however, as it



More information about the rt-commit mailing list