solventum-image-metadata/app/services
SamoilenkoVadym 1156209232 fix: prevent filename collisions that break Excel metadata lookup
- Remove collision-avoidance rename (_1, _2, etc) in FileService.save_upload;
  overwrite file on disk instead, preserving original filename
- Deduplicate in SessionStore.add_file_to_session: replace existing entry
  with same filename instead of appending duplicate
- Deduplicate upload results list for consistent frontend response

The rename broke Excel/import metadata lookup which matches by
Path(filename).stem.lower(). Files are already isolated per user_id
directory, so overwriting is safe.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:22:25 +00:00
..
__init__.py Initial commit: Oliver Metadata Tool (FastAPI) 2026-02-09 21:23:42 +00:00
admin_service.py Initial commit: Oliver Metadata Tool (FastAPI) 2026-02-09 21:23:42 +00:00
ai_service.py Initial commit: Oliver Metadata Tool (FastAPI) 2026-02-09 21:23:42 +00:00
auth_service.py Switch SSO to client-side MSAL.js (no client secret needed) 2026-02-09 21:42:10 +00:00
file_service.py fix: prevent filename collisions that break Excel metadata lookup 2026-02-12 10:22:25 +00:00
metadata_service.py Initial commit: Oliver Metadata Tool (FastAPI) 2026-02-09 21:23:42 +00:00