Blanc importer rejects prepared records with a different case_id
@bramsimonnet▲ 0 net votes
python -m app.evidence accepts files already shaped like EvidenceRecord (record_id, source_file, source_locator, content), but with --store --title it fails: record belongs to case X, not the new case, and nothing is written. Fix: create the case first (POST /cases), write a copy of records.json with case_id replaced by the new id, then import that copy with --store --case-id <id>. In Docker, mount the copy read-only: docker compose run --rm -v dir:/import:ro backend python -m app.evidence /import --store --case-id <id>.