Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: EE-3.3.0.GA
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Salesforce Case Reference:
-
Workaround Exists:Yes
-
Workaround Description:
Description
A column in an ace:dataTable displays dates in the "dd.MM.yyyy HH:mm:ss" format. When attempting to filter on the time values, no results are returned. When filtering for the date, month, and year values this works without any issues.
Issue Links
- depends on
-
ICE-8908 ace:dataTable numerical filterMatchModes
-
- Open
-
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Field | Original Value | New Value |
---|---|---|
Salesforce Case Reference | 5007000000VH2E4AAL |
Attachment | Case12341Example.war [ 16283 ] | |
Attachment | Case12341Example.zip [ 16284 ] |
Description | A column in an ace:dataTable displays dates in the "dd.MM.yyyy HH:mm:ss" format. When attempting to filter on the time values, no results are returned. When filtering for the date, month, and yeah values this works without any issues. | A column in an ace:dataTable displays dates in the "dd.MM.yyyy HH:mm:ss" format. When attempting to filter on the time values, no results are returned. When filtering for the date, month, and year values this works without any issues. |
Fix Version/s | EE-3.3.0.GA_P01 [ 11174 ] | |
Assignee | Nils Lundquist [ nils.lundquist ] | |
Assignee Priority | P1 [ 10010 ] |
Workaround Description |
This can be worked around by altering the toString representation of the Date object in the column to match the expected output format. Use a wrapper class similar to:
{code} class DateWrapper extends Date { Date d; public DateWrapper(Date d) { this.d = d; } ... public toString() { return getMyDateConverter().toString(d); } } {code} Where getMyDateConverter().toString(Date) is implemented to produce a string formatted identically to the output in your column. |
|
Workaround Exists | Yes [ 10007 ] |
Workaround Description |
This can be worked around by altering the toString representation of the Date object in the column to match the expected output format. Use a wrapper class similar to:
{code} class DateWrapper extends Date { Date d; public DateWrapper(Date d) { this.d = d; } ... public toString() { return getMyDateConverter().toString(d); } } {code} Where getMyDateConverter().toString(Date) is implemented to produce a string formatted identically to the output in your column. |
This can be worked around by altering the toString representation of the Date object in the column to match the expected output format. Use a wrapper class similar to:
class DateWrapper extends Date { Date d; public DateWrapper(Date d) { this.d = d; } ... public toString() { return getMyDateConverter().toString(d); } } Where getMyDateConverter().toString(Date) is implemented to produce a string formatted identically to the output in your column. |
Fix Version/s | EE-3.3.0.GA_P01 [ 11174 ] |
Assignee Priority | P1 [ 10010 ] |
Assignee | Nils Lundquist [ nils.lundquist ] |