[Koha-bugs] [Bug 32168] New: Editing date/datetime fields without the dateaccessioned.pl plugin can cause errors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 10 17:08:17 CET 2022


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

            Bug ID: 32168
           Summary: Editing date/datetime fields without the
                    dateaccessioned.pl plugin can cause errors
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lucas at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

When editing items that are date or datetime formatted without the
dateaccessioned cataloging plugin it is quite easy to cause an error. 

To recreate:
1. Make sure some 952 field with dates (datelastseen, dateaccessioned ) are
visible in the editor but make sure the dateaccessiond plugin is turned off. 
2. Set the date format system preference to mm/dd/yyyy
3. Edit an item and attempt to edit one of the date fields to something in the
correct dateformat, like 11/11/2018.
4. You get an error as Koha is expecting the SQL date type format of
YYYY-MM-DD. 

I'm not sure how to best solve this. My first thought is that we should require
the dateaccessioned.pl plugin on date fields. 

Or we could add a hint about format?

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


More information about the Koha-bugs mailing list