Project

General

Profile

Actions

Bug #19965

open

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

Added by Tom Clegg 10 months ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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 10 months ago

  • Target version set to To be groomed
Actions

Also available in: Atom PDF