Skip to content

fix/send to microreact returns status 500 - #307

Open
svj-contextand wants to merge 1 commit into
masterfrom
fix/15838-send-to-microreact-returns-500
Open

fix/send to microreact returns status 500#307
svj-contextand wants to merge 1 commit into
masterfrom
fix/15838-send-to-microreact-returns-500

Conversation

@svj-contextand

Copy link
Copy Markdown

Changes

  • Removed supression of MongoDB _id in analysis.py/get_single_analysis(), as bio-api still depends on it.
  • Simplified workspaces.py/get_workspace() by calling get_single_analysis_by_object_id() directly.
  • Added string conversion of the ID in MicroreactController.py.

Background

In PR #288, get_single_analysis_by_object_id() was changed to call and return get_single_analysis(), which suppresses the MongoDB _id (seemingly as part of the transistion to use sequence_id internally).
However, bio-api still requires the MongoDB _id, so suppressing it caused it to fail.

Notes

The ID string conversion in MicroreactController.py may be unnecessary, but I have not been able to verify this locally because bio-api is currently unavailable in the local environment. The original error is no longer reproducible on my end.

@svj-contextand svj-contextand changed the title send to microreact returns status 500 fix fix/send to microreact returns status 500 Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant