Skip to content

Additional BoolExpr Evaluation Not Respecting Equivalent Dates #132

@tmooney

Description

@tmooney

Here are four equivalent lister commands. Three work but one fails:

$ genome model build list -f 'date_completed="2016-11-14T09:17:38Z"' -sh model
MODEL
-----
$ genome model build list -f 'date_completed="2016-11-14T09:17:38Z"' -sh id
ID
--
2892e48181d64e0f868f418bea7eeb05
$ genome model build list -f 'date_completed="2016-11-14 09:17:38"' -sh model
MODEL
-----
H_...redacted... (cfc452238f1a4f38b33e87f7f42026b1)
$ genome model build list -f 'date_completed="2016-11-14 09:17:38"' -sh id
ID
--
2892e48181d64e0f868f418bea7eeb05

In the one case where it fails, it ultimately comes down to this check not knowing the two date formats are equivalent, even though the object is successfully loaded from the database in either case.

This check only gets run when the loading iterator believes that additional evaluation is required, so the output is inconsistent depending on what hints ended up in the query based on the --show for the lister.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions