Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-5593

fix issue where butler repository search returns list for single item

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: butler
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Epic Link:
    • Sprint:
      DB_X16_03
    • Team:
      Data Access and Database

      Description

      Backwards compatible behavior is that when butler returns a single item, it is NOT in a list. A recent change (when the Repository class was added) broke this behavior.

      Change it back so that if an operation in repository would return a list with a single item, it pulls it from the list.

      Note this is only related to the case where a repository's parentJoin field is set to 'outer' and since no one is using this yet (they should not be, anyway) then the point is moot.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                npease Nate Pease
                Reporter:
                npease Nate Pease
                Watchers:
                Hsin-Fang Chiang, Nate Pease, Russell Owen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel