New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting multiple packages in new update changes builds to numbers, or not numbers #2791

Closed
jeremycline opened this Issue Nov 28, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@jeremycline
Member

jeremycline commented Nov 28, 2018

With bodhi 3.11.0, if you make an update composed of builds from several packages and you use the "packages" field to search for candidate builds, the candidate build you select is replaced with a number (the build's database primary key?) when you change the packages field to find the next candidate build.

To reproduce:

  1. Enter "kernel" into the "Packages" field.
  2. Select a candidate build, such at "kernel-4.19.5-300.fc29"
  3. Enter "kernel-headers" into the "Packages" field.
  4. Candidate Builds should now be populated with kernel-headers builds, but the "kernel-4.19.5-300.fc29" candidate build is now "1167347"
  5. Select a kernel-headers build.
  6. Search for "kernel-tools" in the "Packages" field.
  7. Now kernel-4.19.5-300.fc29 (which became "1167347") shows up in the list as "NaN"
@mattiaverga

This comment has been minimized.

Contributor

mattiaverga commented Nov 29, 2018

Yeah, I think I've messed up NVRs and build-ids in the javascript code when building the list of existing checked builds... I'm currently travelling and trying to debug by smartphone is not the best, I can take a look into this in the next weekend. (If someone else doesn't precede me)

@bowlofeggs

This comment has been minimized.

Member

bowlofeggs commented Dec 5, 2018

The fix for this has been deployed to Fedora's production instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment