fscrawler
fscrawler copied to clipboard
file.create index field has wrong value
Describe the bug
When indexing docx files the wrong value is stored in the file.create index field. Example, File Explorer shows the 'file create' date is 11/04/2022.
This may happen with other extension. Only confirmed with docx.
Expected behavior
That File Created date is stored in the file.created index field.
Versions:
- OS: [Windows server (file server]
- Version [???]
Attachment
If the bug is related to a given file, please share this file, so we can reuse it in tests to reproduce the problem and may be use it in our integration tests.
![Screenshot 2022-12-12 100419](https://user-images.githubusercontent.com/10077060/207081542-7bdef2fe-c428-4c6b-8c4c-7f51573b5275.png)
![Screenshot 2022-12-12 100451](https://user-images.githubusercontent.com/10077060/207081548-ab095079-9efa-4b38-99e3-5ebda909785a.png)
I can confirm that issue with version 2.10-SNAPSHOT. When I use touch -m file.pdf
everything pre-serialization seems to be fine, but the created date seems to be set to the modified date at some point such that the ES index receives the wrong date.