Actions
Bug #19965
openRailsAPI should either enforce container.log is a PDH, or handle UUID updates
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