fscrawler icon indicating copy to clipboard operation
fscrawler copied to clipboard

file.create index field has wrong value

Open corycissell opened this issue 1 year ago • 1 comments

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 Screenshot 2022-12-12 100451

corycissell avatar Dec 12 '22 15:12 corycissell

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.

pkainz avatar Dec 15 '23 08:12 pkainz