Opened 4 years ago

Closed 4 years ago

#2219 closed defect (fixed)

Item list fails to load all parent extracts in some cases

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.17
Component: core Version:
Keywords: Cc:

Description

I discovered a use case that fails to load all extracts to an item list when using a sync filter. Steps for reproducing assumes an item structure like in the SCAN-B project.

  1. Create an item list for storing Extract items (of any type)
  2. Add a filter: Child derived bioassay must exist with filter name = 'SequencingRun0083'
  3. Synchronize the item list. No extracts are added. There are several hundred extracts on all levels (eg, Lysate, RNA, Library, PooledLibrary) that should have been added.
  4. Also try with a different filter: Child derived bioassay must exist, name='1105001.1.l.r.m2.c.lib.g.k.a'. Synchronizing will added the parent Library and up, but not the PooledLibrary.

Change History (1)

comment:1 by Nicklas Nordborg, 4 years ago

Resolution: fixed
Status: newclosed

In 7836:

Fixes #2219: Item list fails to load all parent extracts in some cases

Found two separate issues. First, the CollectExtracts didn't return the correct set of extracts in some cases. Second, the ExtractToParentExtractTransformer need to handle the case when no downstream extracts are found in the same manner as when this has not been checked to begin with.

Note: See TracTickets for help on using tickets.