[MIN-322] Project without disease or organism defined
[Link to bug report|https://appunite.slack.com/archives/C068W173NFJ/p1712308163312179]
Description
Environment
Console logs Error on parsing data ZodError: [ { "code": "invalid_type", "expected": "object", "received": "null", "path": [ "disease" ], "message": "Expected object, received null" }, { "code": "invalid_type", "expected": "string", "received": "null", "path": [ "diseaseName" ], "message": "Expected string, received null" }, { "code": "invalid_type", "expected": "object", "received": "null", "path": [ "organism" ], "message": "Expected object, received null" }, { "code": "invalid_type", "expected": "string", "received": "null", "path": [ "organismName" ], "message": "Expected string, received null" } ] at get error (_app-f96b53989abcf686.js:30:42573) at r (_app-f96b53989abcf686.js:13:106391) at _app-f96b53989abcf686.js:13:67613 Source URL [https://minerva-frontend-parkinson.vercel.app/?id=no-organism&perfectMatch=false&modelId=136&backgroundId=28&x=490.71153846153857&y=237.84375&z=4|https://minerva-frontend-parkinson.vercel.app/?id=no-organism&perfectMatch=false&modelId=136&backgroundId=28&x=490.71153846153857&y=237.84375&z=4] Steps to reproduce open link [https://minerva-frontend-parkinson.vercel.app/?id=no-organism&perfectMatch=false&modelId=136&backgroundId=28&x=490.71153846153857&y=237.84375&z=4|https://minerva-frontend-parkinson.vercel.app/?id=no-organism&perfectMatch=false&modelId=136&backgroundId=28&x=490.71153846153857&y=237.84375&z=4] Expected result vs actual result Project should load properly, but zod validation prevents the loading.
Issue metadata
- Issue type: Bug
- Priority: Medium