Files
galaxy/test
mvdbeek 21676bfc2a Fix AssertionError remapping malformed galaxy markdown blocks
_remap_container saved the directive line while looping over the
container's lines, but then re-matched GALAXY_MARKDOWN_FUNCTION_CALL_LINE
against the loop variable holding the container's *last* line. For stored
report markdown that was never validated (e.g. an unclosed ```galaxy
fence swallowing following prose), the re-match returned None and the
subsequent assert produced an unhandled 500 on
GET /api/invocations/{invocation_id}/report.

Keep the match object found in the loop instead, and turn the assert on
a second directive within one block into MalformedContents so malformed
user content yields a 4xx rather than an AssertionError.

Fixes #23175
Fixes USEGALAXY-EU-MAIN-61HFG00001W43
2026-07-24 18:42:05 +02:00
..
2026-01-20 10:25:45 +00:00
2025-10-29 18:45:26 +00:00