RT-3.5.x losing reminder info? - PATCH

The attached patch (to html/Ticket/Elements/Reminders from RT-3.5.6)
corrects the following behaviors:

(1) When maintaining reminders from /Ticket/Display.html, all reminder
subjects for that ticket were being reset to blank when “Save” was
pressed, and

(2) When maintaining reminders from /Ticket/Reminders.html, only one
field per reminder would actually be updated when “Save” was pressed

Mark Roedel
Web Programmer / Analyst
LeTourneau University-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Roedel,
Mark
Sent: Wednesday, December 14, 2005 5:19 PM
To: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] RT-3.5.x losing reminder info?

Followup:

I believe I’ve found the problem (has to do with the update logic in
/Ticket/Elements/Reminders and what variables are set in the different
reminder display modes). Should have a patch ready to submit tomorrow
or Friday.

Mark Roedel
Web Programmer / Analyst
LeTourneau University

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Roedel,
Mark
Sent: Wednesday, December 14, 2005 11:02 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT-3.5.x losing reminder info?

We started out using RT-3.5.5 (upgraded from 3.4.4), and have been
pulling periodic svn updates (most recently on December 7th).

When we have a ticket that has multiple reminders associated with it:

If we go to /Ticket/Reminders.html, we're able to manipulate
them (edit contents or check them off as complete) correctly.  

If we attempt to check a reminder as complete, or to create an
additional reminder, when at /Ticket/Display.html, the subjects
of the pre-existing reminders are changed to '0'.

There don’t appear to be any related messages in any of the error logs.

If this isn’t some localized glitch, I’m a bit surprised not to have
seen it already caught and addressed…is anybody else able to duplicate
the described behavior, or do I need to chalk this up to some problem
with our installation only?

Mark Roedel
Web Programmer / Analyst
LeTourneau University
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html

reminders.patch (1.68 KB)

Thanks. Applied as change 4313.On Thu, Dec 15, 2005 at 01:49:55PM -0600, Roedel, Mark wrote:

The attached patch (to html/Ticket/Elements/Reminders from RT-3.5.6)
corrects the following behaviors:

(1) When maintaining reminders from /Ticket/Display.html, all reminder
subjects for that ticket were being reset to blank when “Save” was
pressed, and

(2) When maintaining reminders from /Ticket/Reminders.html, only one
field per reminder would actually be updated when “Save” was pressed


Mark Roedel
Web Programmer / Analyst
LeTourneau University

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Roedel,
Mark
Sent: Wednesday, December 14, 2005 5:19 PM
To: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] RT-3.5.x losing reminder info?

Followup:

I believe I’ve found the problem (has to do with the update logic in
/Ticket/Elements/Reminders and what variables are set in the different
reminder display modes). Should have a patch ready to submit tomorrow
or Friday.


Mark Roedel
Web Programmer / Analyst
LeTourneau University

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Roedel,
Mark
Sent: Wednesday, December 14, 2005 11:02 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT-3.5.x losing reminder info?

We started out using RT-3.5.5 (upgraded from 3.4.4), and have been
pulling periodic svn updates (most recently on December 7th).

When we have a ticket that has multiple reminders associated with it:

If we go to /Ticket/Reminders.html, we’re able to manipulate
them (edit contents or check them off as complete) correctly.

If we attempt to check a reminder as complete, or to create an
additional reminder, when at /Ticket/Display.html, the subjects
of the pre-existing reminders are changed to ‘0’.

There don’t appear to be any related messages in any of the error logs.

If this isn’t some localized glitch, I’m a bit surprised not to have
seen it already caught and addressed…is anybody else able to duplicate
the described behavior, or do I need to chalk this up to some problem
with our installation only?


Mark Roedel
Web Programmer / Analyst
LeTourneau University


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html