<p dir="ltr">I agree that the misbehaviour is caused by the commit you reference here.</p>
<p dir="ltr">I believe however that the problem is caused by the change to the ProcessTicketDates method in RT::Interface::Web.</p>
<p dir="ltr">The method now erroneously skips adjusting the date if the date is not set—even if explicitly not set by the user.</p>
<div class="gmail_quote">On 30/06/2014 6:31 pm, "Christian Loos" <<a href="mailto:cloos@netcologne.de">cloos@netcologne.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just couldn't believe that something like this could be broken but<br>
indeed this works in 4.2.4 and is broken in 4.2.5.<br>
<br>
I think this is related to this commit:<br>
<a href="https://github.com/bestpractical/rt/commit/c4f7c8f" target="_blank">https://github.com/bestpractical/rt/commit/c4f7c8f</a><br>
<br>
Especially the change to RT::Date->Unix as I see this the logs if I enter 0:<br>
Passed a unix time less than 0, forcing to 0: [-3600]<br>
<br>
<br>
Chris<br>
<br>
<br>
Am 30.06.2014 10:04, schrieb Alex Peters:<br>
> Thank you, but entering "0" does not work for me.<br>
><br>
> On 30/06/2014 5:30 pm, "Christian Loos" <<a href="mailto:cloos@netcologne.de">cloos@netcologne.de</a><br>
> <mailto:<a href="mailto:cloos@netcologne.de">cloos@netcologne.de</a>>> wrote:<br>
><br>
> Â Â Am 30.06.2014 08:04, schrieb Alex Peters:<br>
> Â Â > Given no answers yet, it seems that either no one can replicate<br>
> Â Â this (in<br>
> Â Â > which case a "works for me" would prompt me to debug further) or<br>
> Â Â no one<br>
> Â Â > has attempted to remove due dates from tickets in v4.2.5.<br>
> Â Â ><br>
> Â Â > I'll assume the latter and file a bug report.<br>
> Â Â ><br>
> Â Â ><br>
> Â Â > On 24 June 2014 21:40, Alex Peters <<a href="mailto:alex@peters.net">alex@peters.net</a><br>
> Â Â <mailto:<a href="mailto:alex@peters.net">alex@peters.net</a>><br>
> Â Â > <mailto:<a href="mailto:alex@peters.net">alex@peters.net</a> <mailto:<a href="mailto:alex@peters.net">alex@peters.net</a>>>> wrote:<br>
> Â Â ><br>
> Â Â > Â Â I'm trying to remove a Due date from a ticket.<br>
> Â Â ><br>
> Â Â > Â Â Historically, entering "-" or "0" into the field worked fine<br>
> Â Â for me.<br>
> Â Â > Â Â Â When I try this now however (RT v4.2.5), the page just<br>
> Â Â reloads and<br>
> Â Â > Â Â the date doesn't get removed. Â Neither "not set" nor just<br>
> Â Â whitespace<br>
> Â Â > Â Â have any effect when entered either.<br>
> Â Â ><br>
> Â Â > Â Â Nothing amazing is showing up in the logs:<br>
> Â Â ><br>
> Â Â > Â Â [...] [warning]: Couldn't parse date '-' by Time::ParseDate<br>
> Â Â > Â Â (.../RT/Date.pm:231)<br>
> Â Â > Â Â [...] [warning]: Couldn't parse date 'not set' by Time::ParseDate<br>
> Â Â > Â Â (.../RT/Date.pm:231)<br>
> Â Â ><br>
> Â Â > Â Â What's the "official" way to remove a Due date from a ticket now?<br>
> Â Â ><br>
><br>
> Â Â Just set the date to 0.<br>
><br>
> Â Â Chris<br>
<br>
</blockquote></div>