-
Bug
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: Linux
Platform: PC
-
6645
When I use netconf to recevice and process our device's notification, I
found that the EvnetTime cound not be parsed.
The EventTinme is like:
?eventTime?2016-09-05T07:11:39.18Z?/eventTime?
But the controller throw an expection:
Unable to parse event time from XmlElement
{name='eventTime', namespace='urn:ietf:params:xml:ns:netconf:notification:1.0'}. Setting time
to Thu Jan 01 08:00:00 CST 1970
java.text.ParseException: Unparseable date: "2016-09-05T07:11:39.18Z"
at java.text.DateFormat.parse(DateFormat.java:357)
at
org.opendaylight.controller.sal.connect.netconf.schema.mapping.NetconfMessageTransformer$3$1.parse(NetconfMessageTransformer.java:157)
I find that when the 2 digits milliseconds can not be parsed and 6 digits
milliseconds can be parsed.
- is blocked by
-
MDSAL-206 DOMEvent contains only event time with Date, which has insufficient precision
- Resolved
- relates to
-
NETCONF-1262 Remove misleading eventTime rounding warning
- Resolved