gristlabs_grist-core/app/server
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
..
declarations (core) disentangle some server tests, release to core, add GRIST_PROXY_AUTH_HEADER test 2022-03-24 15:11:32 -04:00
lib Fixes an import error when using S3/Minio with no redis (#1224) 2024-10-07 05:42:27 +01:00
utils (core) Add remaining audit log events 2024-09-30 13:38:17 -04:00
companion.ts (core) Add remaining audit log events 2024-09-30 13:38:17 -04:00
declarations.d.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
devServerMain.ts (core) Fixes compilation issues from grist-core 2024-09-17 20:57:54 +01:00
generateCheckpoint.ts (core) get all tests working under python3/gvisor 2021-10-18 17:44:15 -04:00
generateInitialDocSql.ts (core) Add audit logging machinery 2024-09-12 12:13:41 -04:00
localization.ts only offer languages that have been marked as substantially complete (#466) 2023-03-28 10:59:17 -04:00
MergedServer.ts check sandbox viability lazily (#1226) 2024-09-30 15:58:38 -04:00
tsconfig.json (core) Simple localization support and currency selector. 2021-08-26 13:36:49 -07:00