Bug 818040
Summary: | Current release will be removed when "System Preferences" displays twice | ||
---|---|---|---|
Product: | [Community] Candlepin | Reporter: | yu zheng <yuzheng> |
Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Eric Sammons <esammons> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 0.5 | CC: | alikins, jmolet, jsefler, khong, suli, syeghiay |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-07-17 13:04:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 738066 |
Description
yu zheng
2012-05-02 04:48:13 UTC
This is fixed with a change in candlepin commit cc54a8f1d9593d79d3648ec05b3ffc2be0a43feb Author: Adrian Likins <alikins> Date: Wed May 2 09:40:14 2012 -0400 818040: rhsm release combobox doesn't reset release now Calls to updateConsumer with null releasevers in the consumer objects could result in the consumer release being reset to null because of a bad equals check. Add a .equals for Release model for Consumer compares Fixes ConsumerResourceUpdateTest.nothingChanged unittest failure Add test cases for above. Verifying... Verified packages: subscription-manager-firstboot-0.99.17-1.el6.x86_64 subscription-manager-gnome-0.99.17-1.el6.x86_64 subscription-manager-0.99.17-1.el6.x86_64 subscription-manager-debuginfo-0.99.17-1.el6.x86_64 subscription-manager-migration-0.99.17-1.el6.x86_64 python-rhsm-0.99.10-1.el6.noarch Steps of verification: # subscription-manager register Username: stage_test_12 Password: The system has been registered with id: cd40f0ed-2c3e-43af-a61f-893d142e5130 # subscription-manager subscribe --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed # subscription-manager release --list 6.0 6.1 6.2 6Server # subscription-manager release --set=6.1 Release set to: 6.1 #subscription-manager-gui Open "System Preferences" dialog, release version "6.1" displays successfully. Close "System Preferences" and reopen it, release version is still empty. Verify failed, move to ASSIGNED (In reply to comment #6) > Verifying... > Username: stage_test_12 > Password: This fix is a candlepin fix, that has not been pushed to stage yet. It's currently targetted to 0.6.3, or 0.5.4 if we need it pushed into stage. Should be able to test and verify this against a master candlepin. Also, stage should be getting 0.5.32 (or newer) with the fix, whenever it's updated. Verify with stage candlepin-0.5.32 Steps of verification: # subscription-manager register Username: stage_test_12 Password: The system has been registered with id: cd40f0ed-2c3e-43af-a61f-893d142e5130 # subscription-manager subscribe --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed # subscription-manager release --list 6.1 6.2 6Server # subscription-manager release --set=6.2 Release set to: 6.2 #subscription-manager-gui Open "System Preferences" dialog, release version "6.2" displays successfully. Close "System Preferences" and reopen it, release version 6.2 is still there. The bug is fixed, move to VERIFIED. Marking all community bugs modified or beyong as closed. |