-
Type: Bug
-
Status: Open
-
Priority: Critical
-
Resolution: Unresolved
-
Affects Version/s: None
-
Component/s: Binary Metadata
-
Tags:
-
Team:PLATFORM
When parsing an EXIF date, if the date is an empty string, the parsing fails and the document is not created.
Stacktrace:
2023-02-09T09:48:19,513 ERROR [http-nio-0.0.0.0-8080-exec-16] [org.nuxeo.binary.metadata.internals.ExifToolProcessor] Could not parse property: EXIF:DateTimeOriginal java.text.ParseException: Unparseable date: "" at java.text.DateFormat.parse(DateFormat.java:395) ~[?:?] at org.nuxeo.binary.metadata.internals.ExifToolProcessor.parseDates(ExifToolProcessor.java:208) ~[nuxeo-binary-metadata-2021.32.8.jar:?] at org.nuxeo.binary.metadata.internals.ExifToolProcessor.returnResultMap(ExifToolProcessor.java:193) ~[nuxeo-binary-metadata-2021.32.8.jar:?] at org.nuxeo.binary.metadata.internals.ExifToolProcessor.readMetadata(ExifToolProcessor.java:152) ~[nuxeo-binary-metadata-2021.32.8.jar:?] at org.nuxeo.binary.metadata.internals.ExifToolProcessor.readMetadata(ExifToolProcessor.java:164) ~[nuxeo-binary-metadata-2021.32.8.jar:?] at org.nuxeo.binary.metadata.internals.BinaryMetadataServiceImpl.readMetadata(BinaryMetadataServiceImpl.java:73) ~[nuxeo-binary-metadata-2021.32.8.jar:?] at org.nuxeo.binary.metadata.internals.BinaryMetadataServiceImpl.writeMetadata(BinaryMetadataServiceImpl.java:200) ~[nuxeo-binary-metadata-2021.32.8.jar:?] at org.nuxeo.binary.metadata.internals.BinaryMetadataServiceImpl.applyUpdates(BinaryMetadataServiceImpl.java:291) ~[nuxeo-binary-metadata-2021.32.8.jar:?] at org.nuxeo.binary.metadata.internals.listeners.BinaryMetadataSyncListener.handleEvent(BinaryMetadataSyncListener.java:109) ~[nuxeo-binary-metadata-2021.32.8.jar:?] at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:280) ~[nuxeo-core-event-2021.32.8.jar:?] at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:289) ~[nuxeo-core-2021.32.8.jar:?] at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:753) ~[nuxeo-core-2021.32.8.jar:?]