Project

General

Profile

Actions

Bug #16859

closed

API should return collections when queried by PDH and they exist in a past version.

Added by Peter Amstutz over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Story points:
-
Release relationship:
Auto

Description

Currently, when requesting a collection by PDH from the API server, if the PDH is only found in a past version, it will return 404 unless include_past_versions=true. Based on conversations with customers, this behavior should change so that past versions can be fetched by PDH, (include_past_versions is default true for that API call).

Rule is: GET operations for a specific PDH or UUID include_past_versions default true. List operations include_past_versions default false.


Subtasks 1 (0 open1 closed)

Task #16864: Review 16859-pdh-versionResolvedTom Clegg09/21/2020Actions
Actions #1

Updated by Peter Amstutz over 3 years ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz over 3 years ago

  • Target version changed from 2020-10-07 Sprint to 2020-09-23 Sprint
  • Description updated (diff)
Actions #3

Updated by Peter Amstutz over 3 years ago

  • Assigned To set to Peter Amstutz
Actions #4

Updated by Peter Amstutz over 3 years ago

16859-pdh-version @ arvados|56e2a953bff7183f19845415b5f8de36a664f5c4

CollectionsController#find_object_by_uuid defaults to include_old_versions: true for both PDH and UUID. Add test.

developer-run-tests: #2109

Actions #5

Updated by Tom Clegg over 3 years ago

LGTM, thanks!

Actions #6

Updated by Peter Amstutz over 3 years ago

  • Status changed from New to Resolved
Actions #7

Updated by Peter Amstutz over 3 years ago

  • Release set to 25
Actions

Also available in: Atom PDF