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

fix issue where butler repository search returns list for single item

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: butler
    • Labels:
      None
    • 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

            npease Nate Pease [X] (Inactive) created issue -
            npease Nate Pease [X] (Inactive) made changes -
            Field Original Value New Value
            Epic Link DM-5262 [ 22985 ]
            npease Nate Pease [X] (Inactive) made changes -
            Rank Ranked higher
            npease Nate Pease [X] (Inactive) made changes -
            Assignee Nate Pease [ npease ]
            npease Nate Pease [X] (Inactive) made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            npease Nate Pease [X] (Inactive) made changes -
            Sprint DB_X16_03 [ 204 ]
            npease Nate Pease [X] (Inactive) made changes -
            Team Data Access and Database [ 10204 ]
            npease Nate Pease [X] (Inactive) made changes -
            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.

            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.

            npease Nate Pease [X] (Inactive) made changes -
            Status In Progress [ 3 ] Reviewed [ 10101 ]
            npease Nate Pease [X] (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            tjenness Tim Jenness made changes -
            Link This issue blocks DM-5632 [ DM-5632 ]

              People

              Assignee:
              npease Nate Pease [X] (Inactive)
              Reporter:
              npease Nate Pease [X] (Inactive)
              Watchers:
              Hsin-Fang Chiang, Nate Pease [X] (Inactive), Russell Owen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.