Unverified Commit e1599f3d authored by Dannon's avatar Dannon Committed by GitHub
Browse files

Merge pull request #19532 from mvdbeek/fix_parameter_named_id

[24.1] Fix remap for parameter called id
parents e7e348ab 2e36c250
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -325,7 +325,12 @@ class JobSearch:
                current_case = param_dump
                for p in path:
                    current_case = current_case[p]
                src = current_case["src"]
                src = current_case.get("src")
                if src is None:
                    # just a parameter named id.
                    # TODO: dispatch on tool parameter type instead of values,
                    # maybe with tool state variant
                    return key, value
                current_case = param
                for i, p in enumerate(path):
                    if p == "values" and i == len(path) - 2: