Fixed
Details
Assignee
Seth LegerSeth LegerReporter
MalateshMalateshComponents
Sprint
NoneFix versions
Affects versions
Priority
Major
Details
Details
Assignee
Seth Leger
Seth LegerReporter
Malatesh
MalateshComponents
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created July 19, 2017 at 2:46 PM
Updated October 10, 2017 at 3:29 PM
Resolved October 10, 2017 at 3:29 PM
Because hostname and timezone are both string types, they are being confused by the parser, even though timezone parsing should throw an exception if an invalid value (such as a hostname) is encountered.
If you observe here even though hostname is
localhost
it’s not considered as hostname since it was parsed as timezone and exception was thrown and further it has got parsed:This is parsed correctly:
If we keep hostname first and time zone we can see following, hostname is parsed correctly:
But here time zone is considered as hostname: