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

            Bug ID: 30540
           Summary: Double processing invalid dates can lead to ISE
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

In the KohaDates filter we process our passed date using dt_from_string before
passing it to output_pref.

dt_from_string handles bad dates in an eval block, falling back to assigning a
floating timezone. However, in the subsequent call to output_pref we try to set
the timezone a second time and this time it is not in an eval and so will throw
an internal server error for such dates.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to