You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Steve Lawrence (JIRA)" <ji...@apache.org> on 2018/09/07 14:41:00 UTC

[jira] [Assigned] (DAFFODIL-1986) Expression comparison of date/time w/o timezone defined causes abort

     [ https://issues.apache.org/jira/browse/DAFFODIL-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Lawrence reassigned DAFFODIL-1986:
----------------------------------------

    Assignee: Steve Lawrence

> Expression comparison of date/time w/o timezone defined causes abort
> --------------------------------------------------------------------
>
>                 Key: DAFFODIL-1986
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1986
>             Project: Daffodil
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Michael Beckerle
>            Assignee: Steve Lawrence
>            Priority: Major
>             Fix For: 2.3.0
>
>
> See test test_comparison_operators_46a()
> This test doesn't override the default value for dfdl:calendarTimeZone of "", meaning unknown time zone. It fails with assertion failed about "hasTimeZone".
> test test_comparison_operators_46() overrides that with dfdl:calendarTimeZone="UTC" so it passes.
> Bug was undiscovered because DFDLGeneralFormat used to define dfdl:calendarTimeZone to be "UTC", but it should be "" (not defined) by default, so when changed to this, the assertion failure if no timezone defined occurs. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)