-
Summary:
CheckIn:Fix
bug 166758 [Regression] Link to a Date type parameter cause error.[07][0705]
- Bugzilla Bug (s) Resolved:
Bugzilla bug 166758 [Regression] Link to a Date
type parameter cause error.[07][0705]
-
Description:
In DtE, a data
set parameter value is stored in String format. When we accept a parameter
value from outside, we will first convert it to a string and then convert it
back to it original value when it is actually used (say, be set to IQuery of
ODA).
To ensure a
seamless Object->String->Object converting, when meet a Date value, DtE
use pattern “yyyy-MM-dd HH:mm:ss.S z” to convert it to a fixed date
format string. However, as we include timezone info in the formatting, this
sometimes leads to problem, for certain timezone info in string, say, “2006-12-12
08:00:00.0 CTT”, can not be parsed by BIRT’s date parsing util.
As timezone information
is actually not import in DtE, we use another pattern “yyyy-MM-dd
HH:mm:ss.S” when do the date formatting. The bug is so that fixed.
- Tests Description:
No.
- Files Edited:
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ParameterUtil.java"
- Files Added:
- Notes to Build Team:
N/A
- Notes to Developers:
N/A
- Notes to QA:
N/A
- Notes to Documentation:
N/A