gristlabs_grist-core/app/gen-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
..
homedb (core) Add remaining audit log events 2024-09-30 13:38:17 -04:00
Activations.ts Move HomeDBManager to gen-server/lib/homedb (#1076) 2024-07-05 16:02:39 +02:00
DocApiForwarder.ts Move HomeDBManager to gen-server/lib/homedb (#1076) 2024-07-05 16:02:39 +02:00
DocWorkerMap.ts Fixes an import error when using S3/Minio with no redis (#1224) 2024-10-07 05:42:27 +01:00
Doom.ts Move HomeDBManager to gen-server/lib/homedb (#1076) 2024-07-05 16:02:39 +02:00
Housekeeper.ts Removing fixSiteProducts method (#1236) 2024-10-01 17:33:50 +02:00
NotifierTypes.ts (core) move apiserver tests to core, disentangling notifier+billing parts 2023-12-26 08:43:12 -05:00
Permissions.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
scrubUserFromOrg.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
TypeORMPatches.ts (core) Add options to /status health-check endpoints to check DB and Redis liveness. 2023-10-02 14:41:04 -04:00
Usage.ts Move HomeDBManager to gen-server/lib/homedb (#1076) 2024-07-05 16:02:39 +02:00
values.ts (core) move home server into core 2020-07-21 20:39:10 -04:00