Files
galaxy/lib
mvdbeek 6172e9df6b Reject structurally invalid nested dataset collections
For nested collection types like list:paired_or_unpaired and list:paired,
verify in the manager that every element value is a DatasetCollection
whose collection_type matches the expected sub-collection type. Otherwise
the API silently accepted raw HDAs as children, producing collections
that crashed downstream tools (e.g. SplitPairedAndUnpairedTool).

The third tool test in split_paired_and_unpaired.xml relied on the
unvalidated path: el2/el3 were raw datasets rather than paired_or_unpaired
sub-collections wrapping a singleton "unpaired" element. Update the test
to use the canonical wrapped form so it passes against the new validator.
2026-04-07 17:34:21 +02:00
..