adjust-dateTime-to-timezone crash

Bug #1183522 reported by Matthias Brantner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Confirmed
High
Cezar Andrei

Bug Description

adjust-dateTime-to-timezone(current-dateTime()) + xs:dayTimeDuration("PT2H")

raises a failed assertion.

Changed in zorba:
status: New → In Progress
Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

This is failing because the SchemaTypeCode is XS_DATETIME_STAMP.

(1) Is that supposed to happen ever?
(2) If so, should it be mapped to the XS_DATETIME case?

Changed in zorba:
assignee: Paul J. Lucas (paul-lucas) → Cezar Andrei (cezar-andrei)
Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

Assigned to Cezar since bzr blame shows him as adding the XS_DATETIME_STAMP constant.

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

BTW: the relevant code is in src/runtime/durations_dates_times/DurationsDatesTimesImpl.cpp, lines 115-142.

Chris Hillery (ceejatec)
Changed in zorba:
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.