Skip to content

Add another workaround the TDT feature retrieval matching "feature"

Mark Sutton requested to merge sutt/athena:roi-grief into master

The TDT returns features with a "matching" key as well as the with the requested key. if a matching keyed object is found first, then the object with the requested key cannot be retieved as "lastOfType", so all such features need to be requested.

When not providing a key, then requesting all features returns all the features, instead of just the last of type, so these two cases - with a key, and without a key have to be treated differently.

This change will be able to be reoved once the TDT issue is fixed, hence the lines have been left in, but commented.

This is a continuation of the workarounds needed for https://its.cern.ch/jira/browse/ATR-21943

Edited by Mark Sutton

Merge request reports