Skip to content
Snippets Groups Projects

ComponentAccumulator: fix naming of public tools

Merged Frank Winklmeier requested to merge fwinkl/athena:ca_publictools into 24.0
All threads resolved!
1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
  • Do not permanently rename public tools but use the `namePrefix` feature
    of `gatherProps`. This avoids that if a public tool is re-used in
    multiple places (and depending on the order of property serialization)
    that the tool name is set to "ToolSvc.MyTool" in the ToolHandle
    property.
    
    Fixes ATR-28846.
@@ -1106,8 +1106,7 @@ class ComponentAccumulator(AccumulatorCachable):
#Public Tools:
for pt in self._publicTools:
pt.name = "ToolSvc." + pt.name
getCompsToBeAdded(pt)
getCompsToBeAdded(pt, namePrefix="ToolSvc.")
#Auditors:
for aud in self._auditors:
Loading