Issues

Select view

Select search mode

 
50 of 53

XmppDateTimeFormat is unable to parse date Strings

Fixed

Description

Sending a packet of the form:

No longer gets parsed to java.util.Date since SVN change 13437.

For some reason when given the above date L119 of XmppDateTimeFormat returns null.

This breaks the monitoring plugin which had its own XmppDateUtil class which worked fine prior to the SVN change.

Environment

None

is duplicated by

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created March 5, 2013 at 5:08 PM
Updated March 20, 2013 at 12:31 PM
Resolved March 20, 2013 at 10:45 AM

Activity

Show:

Leon RoyMarch 18, 2013 at 3:58 PM

Thanks

Leon RoyMarch 18, 2013 at 3:57 PM

Hi Florian, that indeed seems to resolve the issue. You can close this ticket now.

Robin CollierMarch 7, 2013 at 3:35 PM

It would be useful to take the relevant date parsing tests from StringUtilsTest in Smack and add them to XMPPDateTimeFormatTest. It covers all the cases in the spec and some more besides.

Florian SchmausMarch 5, 2013 at 10:40 PM

@Leon please verify if it fixes the issue.

Flag notifications