You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to change the publication date of a book via webui to year 999
Additionally even if the dates were parsed, the webui date selector doesn't go into BC
Expected behavior
Writting was invented 5000 years ago. In fact I discovered this error because I added the "Epic of Gilgamesh" to my library and I was trying to set the correct date. The epub date was set to year 2500. Setting it to -2500 made Komga show it still as year 2500 for publication.
I don't know whether epub definition allows negative dates but imho Komga should allow the modification to the imported metadata via the webui.
Actual behavior
The webui shows a error and nothing changes.
Logs
2025-02-08T22:22:38.764Z WARN 1 --- [http-nio-25600-exec-79] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize value of type `java.time.LocalDate` from String "999-12-31": Failed to deserialize java.time.LocalDate: (java.time.format.DateTimeParseException) Text '999-12-31' could not be parsed at index 0]
Komga version
v1.19.1-master
Operating system
Arch Linux
Installation method
Docker
Other details
No response
Acknowledgements
I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
Steps to reproduce
Expected behavior
Writting was invented 5000 years ago. In fact I discovered this error because I added the "Epic of Gilgamesh" to my library and I was trying to set the correct date. The epub date was set to year 2500. Setting it to -2500 made Komga show it still as year 2500 for publication.
I don't know whether epub definition allows negative dates but imho Komga should allow the modification to the imported metadata via the webui.
Actual behavior
The webui shows a error and nothing changes.
Logs
Komga version
v1.19.1-master
Operating system
Arch Linux
Installation method
Docker
Other details
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: