Skip to content

Sweeping !1244 from master to devel: fix (PMS): Filter out invalid results from BookkeepingClient.getSimulationCondition

LHCbDIRAC Bot requested to merge cherry-pick-11f82a47c-devel into devel

Delightfully BookkeepingClient.getSimulationCondition returns like "%{SimDescription}%" rather than returning only exact matches:

https://gitlab.cern.ch/lhcb-dirac/LHCbDIRAC/-/blob/c686b26e9caca2158b883f1e0ea1d3fbef1b6d0a/src/LHCbDIRAC/BookkeepingSystem/DB/OracleBookkeepingDB.py#L5656

As I'm sure this behavour is probably required somewhere this merge request just filters out any erroneous results.

BEGINRELEASENOTES

*ProductionManagement FIX: Filter out invalid results from BookkeepingClient.getSimulationCondition when submitting productions

ENDRELEASENOTES

Merge request reports