Nick Craig-Wood
6ed0079d52
filen: fix incorrect in-memory modtime after upload
...
Put and Update were returning Objects whose in-memory modtime was the
nanosecond-precision source modtime, while the server stores
millisecond precision. After the upload returned, the in-memory state
did not match what a fresh List would report, which broke wrappers
that compare modtimes (e.g. the hasher backend's fingerprint).
The standard for backends is to re-read metadata after Upload so this
re-reads the file via FindFile after the upload completes so the
Object reflects the server's authoritative state. The chunked upload
path already re-reads via NewObject in multiThreadCopy, so this only
needs to apply to Put and Update.
Fixes #9308
2026-05-04 10:55:25 +01:00
..
2024-08-08 13:41:31 +01:00
2026-01-30 16:02:50 +00:00
2026-04-13 12:48:38 +01:00
2026-04-13 18:05:52 +01:00
2026-01-30 17:50:18 +00:00
2026-03-03 14:01:11 +00:00
2025-11-18 16:09:06 +00:00
2025-10-21 18:56:06 +01:00
2025-06-12 18:31:01 +01:00
2025-04-09 15:03:59 +01:00
2025-09-14 15:58:20 +01:00
2025-11-04 14:50:56 +00:00
2025-11-27 14:42:11 +00:00
2026-01-18 20:48:33 +01:00
2026-04-10 20:48:21 +01:00
2026-02-26 12:37:10 +00:00
2025-11-12 15:54:01 +00:00
2024-09-06 18:20:10 +01:00
2025-02-28 11:31:14 +00:00
2026-02-16 17:45:42 +00:00
2026-05-04 10:55:25 +01:00
2025-02-28 11:31:14 +00:00
2026-01-09 16:10:02 +00:00
2025-05-27 14:28:25 +01:00
2025-12-01 19:04:02 +00:00
2026-02-18 12:11:52 +00:00
2026-04-16 12:56:58 +01:00
2025-07-31 11:38:51 +01:00
2025-02-28 11:31:14 +00:00
2026-02-18 12:11:52 +00:00
2026-04-09 17:04:20 +01:00
2026-01-08 12:05:37 +00:00
2025-09-04 10:37:27 +01:00
2026-02-26 11:13:16 +00:00
2026-04-06 08:28:28 +01:00
2025-06-24 15:04:45 +01:00
2026-04-08 08:49:42 +01:00
2026-03-24 10:17:36 +00:00
2026-02-18 12:11:52 +00:00
2026-01-24 12:35:02 +00:00
2025-12-17 10:21:12 +00:00
2025-11-04 23:00:46 +01:00
2026-02-18 12:11:52 +00:00
2025-02-28 11:31:14 +00:00
2026-01-09 16:10:02 +00:00
2026-01-08 12:05:37 +00:00
2026-02-18 12:11:52 +00:00
2024-08-12 13:35:44 +01:00
2025-07-31 11:38:51 +01:00
2026-01-28 11:38:38 +00:00
2025-02-28 11:31:14 +00:00
2025-04-08 15:14:00 +01:00
2025-09-15 12:45:57 +01:00
2026-04-15 18:01:14 +01:00
2026-01-08 12:05:37 +00:00
2026-04-09 17:00:45 +01:00
2026-02-18 12:11:52 +00:00
2026-02-18 12:11:52 +00:00
2025-02-28 11:31:14 +00:00
2025-09-22 15:33:44 +01:00
2024-04-22 19:29:12 +02:00
2025-02-28 11:31:14 +00:00
2026-01-18 20:48:33 +01:00
2025-11-10 15:56:06 +00:00
2025-09-14 15:58:20 +01:00
2026-04-15 17:40:27 +01:00
2025-11-13 13:47:40 +00:00
2026-02-18 12:11:52 +00:00