Files
gristlabs_grist-core/app/server/lib
Spoffy a5c9a494df Fixes an import error when using S3/Minio with no redis (#1224)
## Context

Error is caused due to these steps:
- File is uploaded to Home server and attempts to import
- Import ends up in `claimDocument` in `HostedStorageManager`
- Tries to read doc metadata from DocWorkerMap, gets 'unknown' as md5 hash
- Thinks local doc is out of date and erases it.
- Downloads a non-existent file from S3, so import fails as it has no data.

## Proposed solution

This fixes it by checking for DummyDocWorker's special 'unknown' MD5, forcing an S3 check.

## Related issues

https://community.getgrist.com/t/no-metadata-for-imported-grist-document/6029/32
2024-10-07 05:42:27 +01:00
..
2024-07-30 13:41:47 -04:00
2024-07-30 13:41:47 -04:00
2022-02-19 09:46:49 +00:00
2024-05-22 14:56:53 +02:00
2023-10-11 17:36:58 -04:00
2024-10-01 11:54:40 -04:00
2024-09-30 12:04:00 -04:00
2024-07-23 11:49:23 -04:00
2022-06-17 21:53:20 +02:00
2023-02-20 22:46:36 -05:00
2023-04-03 13:29:35 -04:00
2022-07-04 10:42:40 -04:00
2022-04-01 15:24:19 -07:00
2023-07-30 15:13:43 -04:00
2023-10-11 17:36:58 -04:00
2024-01-08 09:19:50 -05:00
2020-07-21 20:39:10 -04:00
2022-08-25 12:38:36 -07:00