Bug: DateTimeParseException beim Lesen aelterer SQLite-Zeitstempel #48
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Beim Verarbeitungslauf tritt eine
DateTimeParseExceptionauf:Ursache
SqliteDocumentRecordRepositoryAdapter.stringToInstant()erwartet ISO-8601-Format (2026-04-27T11:32:25Z), aber aeltere DB-Eintraege enthalten das Format2026-04-27 11:32:25(Leerzeichen stattT, keinZ).Das Format wurde mit der Einfuehrung von
lastSuccessInstant/lastFailureInstant(Issue #30) benoetigt, aber bestehende DB-Eintraege wurden mit dem alten Format geschrieben.Loesung
stringToInstant()muss beide Formate unterstuetzen:2026-04-27T11:32:25Z)2026-04-27 11:32:25) → als UTC interpretierenBetroffene Datei
SqliteDocumentRecordRepositoryAdapter.java– MethodestringToInstant()(Zeile 295)