<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>