#3091 Cannot get build type for builds in listBuilds
Closed: Fixed 2 years ago by julian8628. Opened 2 years ago by chhan.

When I get the builds using listBuilds, I cannot use these build info to get the build type, because the build info not contain id filed, but listBuilds must use this id.
This is a bug, in koji-1.25.1, first step is to get the build info(contain id filed) using get_build, but in koji-1.26.0 , if function parameter not contain id, the function will not get id

if no this id filed, will display the error in the attament
2.png


Metadata Update from @julian8628:
- Custom field Size adjusted to None

2 years ago

Metadata Update from @julian8628:
- Issue set to the milestone: 1.27
- Issue tagged with: easyfix

2 years ago

The dict structure of the items in listBuilds's result is not the same as the one of getBuild (build_id -> id, and getBuildType honors the latter). So in the old get_build_type, although there's no id too, the input will be checked and transferred to the result of getBuild.

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

2 years ago

Metadata Update from @jcupova:
- Issue tagged with: testing-done

2 years ago

Log in to comment on this ticket.

Metadata
Attachments 1
Attached 2 years ago View Comment
Related Pull Requests
  • #3092 Merged 2 years ago