Project

General

Profile

Actions

Bug #19965

open

RailsAPI should either enforce container.log is a PDH, or handle UUID updates

Added by Tom Clegg about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Story points:
0.5

Description

In #19886 we found that RailsAPI will allow crunch-run to update a container record with a UUID in the log attribute, but it appears the "update container request logs" code will then silently fail because it is assuming the container log attribute is a PDH. As a result, the container request log collections will be stale or empty.

Either the container model should enforce that log can only be set to a PDH (which is currently the only way it's used), or the "copy container log data to container request log collection" code should be updated to work when the container log is a UUID.

Either way, setting log to a non-empty, non-UUID, non-PDH value should be an error.

Actions #1

Updated by Peter Amstutz about 1 year ago

  • Target version set to Future
Actions

Also available in: Atom PDF