[Koha-bugs] [Bug 28585] Cannot search on date fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 26 12:41:59 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28585

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |additional_work_needed

--- Comment #21 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
t/db_dependent/Koha/Object.t .. 9/21 
    #   Failed test 'Given a string, a timestamp field is converted into a
DateTime object'
    #   at t/db_dependent/Koha/Object.t line 514.
    #          got: ''
    #     expected: 'DateTime'

    #   Failed test 'Given a string, a datetime field is converted into a
DateTime object'
    #   at t/db_dependent/Koha/Object.t line 528.
    #          got: ''
    #     expected: 'DateTime'

    #   Failed test 'Given a string, a date field is converted into a DateTime
object'
    #   at t/db_dependent/Koha/Object.t line 542.
    #          got: ''
    #     expected: 'DateTime'
    # Looks like you failed 3 tests of 12.

#   Failed test 'attributes_from_api() tests'
#   at t/db_dependent/Koha/Object.t line 576.


Tests added by 
  commit badbd7d85913749e33d9bdba397dc79836080719
  Bug 23893: Catch dt_from_string exceptions                                    


Looks like we should remove the tests, do you have something else to suggest?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list