gristlabs_grist-core/app/gen-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
..
entity (core) Fixing lock issues and reverting back to single connection. 2024-09-11 20:48:52 +02:00
lib Fixes an import error when using S3/Minio with no redis (#1224) 2024-10-07 05:42:27 +01:00
migration Activations: add an enabled_at column 2024-08-06 15:06:36 -04:00
ApiServer.ts (core) Add remaining audit log events 2024-09-30 13:38:17 -04:00
sqlUtils.ts (core) fix bug where sharing doc with everyone@ as viewer made it unlisted for site viewers 2021-10-28 12:48:31 -04:00