Project

General

Profile

Actions

Bug #37951

closed

Ostree repo creation fails if Depth is not set to a value

Added by Samir Jha about 2 months ago. Updated 16 days ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

We have a depth field for ostree repos which is a numeric field on the creation page. The note on the page reads that leaving it blank means depth=0 but we don't actually respect that on the backend which requires a value for that field.

When this field is not set on the page, it send null to the API and that is sent as null to pulp which fails. We need to set the value to 0 before we call pulp for ostree repo creation.

Actions

Also available in: Atom PDF