Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong filter behavior on Time/LocalTime/OffsetTime attributes #2705

Open
vyacheslav-pushkin opened this issue Feb 12, 2020 · 0 comments
Open
Assignees
Labels
type: bug Something isn't working

Comments

@vyacheslav-pushkin
Copy link

Environment

  • Platform version: 7.2-SNAPSHOT
  • Database: PostgreSQL

Description of the bug or enhancement

  1. Create an instance of an entity having a time attribute (here and below "time" refers to Time, LocalTime or OffsetTime). Populate the time attribute with some value, e.g. "11:57".
  2. Create a filter on that attribute, select operator "=" and enter the same value ("11:57"). Click "Search".

Expected behavior

Record with time "11:57" is shown

Actual behavior

Record with time "11:57" is not shown

  1. Change filter operator to ">". Click "Search"

Expected behavior

Record with time "11:57" is not shown

Actual behavior

Record with time "11:57" is shown

image

NOTES

  • Additionally, Time attribute renders a datetime picker rather than a time picker.
  • Values are stored in db (PostgreSQL) as:
time_attr        local_time_attr  offset_time_attr       
---------------------------------------------------------
11:57:00         11:57:00         11:57:00               
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants