Issue
migration_service.go: The CSV import for risks and assets
returns nil without actually importing anything (TODO: Implement actual risk import logic). The front-end (/risks/import page) reports success even though no
data is created.
Impact
Immediate loss of trust: the user believes they have imported their existing
inventory, sees nothing appear, and receives no error message explaining
why.
Expected Fix
- Actually implement parsing and creation of risks/assets from the CSV.
- Pending full implementation, explicitly fail the call
(error status + clear UI message) rather than returning a silent, false success.
- Add a test verifying that CSV rows are correctly saved to the database.
Severity
Critical — silent data loss / misleading the user.
Issue
migration_service.go: The CSV import for risks and assetsreturns
nilwithout actually importing anything (TODO: Implement actual risk import logic). The front-end (/risks/importpage) reports success even though nodata is created.
Impact
Immediate loss of trust: the user believes they have imported their existing
inventory, sees nothing appear, and receives no error message explaining
why.
Expected Fix
(error status + clear UI message) rather than returning a silent, false success.
Severity
Critical — silent data loss / misleading the user.