[Bug 29276] New: Date automatically changes when editing news
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29276 Bug ID: 29276 Summary: Date automatically changes when editing news Change sponsored?: --- Product: Koha Version: 21.05 Hardware: All OS: Linux Status: NEW Severity: trivial Priority: P5 - low Component: Tools Assignee: koha-bugs@lists.koha-community.org Reporter: florian.bontemps@biblibre.com QA Contact: testopia@bugs.koha-community.org Created attachment 126521 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126521&action=edit Date change image When editing news, the publication (and expiration, if filled in) date inputs fields are automatically changed to a date in August 2026. Even when setting up an article to be published later than that, it will still reverts to 2026 when opening up the edit page. The date can be then edited and changed with no issues, but if someone just wanted to correct a typo in the article and didn't pay attention to the date, it's a very easy mistake to make. Steps to reproduce : 1/ In Tools > News, create a news article with any kind of content 2/ Save it : it should show the publication date you specified (or the current date if you left it blank) 3/ Try to edit it : the publishing date input should automatically be set to a random date in August 2026. If you also specified an expiration date, it seems to also be set to that same random date. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29276 Erica Rohlfs <erica.rohlfs@equinoxOLI.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erica.rohlfs@equinoxOLI.org --- Comment #1 from Erica Rohlfs <erica.rohlfs@equinoxOLI.org> --- I cannot recreate this situation on the 21.05 db I'm using. I tried recreating it with Display Location: All, Librarian Interface, and OPAC news (en). I also tested selecting all library branches and a specific branch. I initially did not set an expiration date. When I did set an expiration date, the date I set remained. I also tested editing in the text box versus using source code. Are there further constraints I should use to replicate? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29276 --- Comment #2 from Erica Rohlfs <erica.rohlfs@equinoxOLI.org> --- Noting that I also just tested to see if I could recreate this issue with system preference NewsToolEditor set to "a text editor (CodeMirror)" instead of WYSIWYG. Koha still retained the set dates. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29276 Florian <florian.bontemps@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|21.05 |master -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29276 --- Comment #3 from Florian <florian.bontemps@biblibre.com> --- It seems to be linked to the dateformat preferences. That bug does not appear when using the iso format (yyyy-mm-dd). Other format will still glitch but change the 'wrong' date (for instance, dd/mm/yyyy sets my edited dates to January 2021) My work environment is french so it might be a glitch due to javascript and the browser. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29276 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #4 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Is your branch up-to-date? Looks like a duplicate of bug 29254. Please reopen if the problem persists. *** This bug has been marked as a duplicate of bug 29254 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org