Bug 818564
| Summary: | creating a consumer w/o specifying releaseVer NPE | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | Tom McKay <tomckay> |
| Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Eric Sammons <esammons> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 0.9 | CC: | alikins, jdornak |
| 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:07 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: | 803375 | ||
|
Description
Tom McKay
2012-05-03 11:46:59 UTC
*** Bug 819013 has been marked as a duplicate of this bug. *** in master:
commit d95d0e6e217bc6b9d26783f517849547cdd6702a
Author: Adrian Likins <alikins>
Date: Wed May 2 19:01:14 2012 -0400
Add a null check for consumer.setReleaseVer
That is to work around cases where a Consumer with
null releaseVer can be created.
Also add a Release() empty constructor to Release
module to fix some serealization issues that cropped
up in imports.
Add test case for null releaseVer in update consumer tests
commit cbc34dba4c9f85420c6e7f412af440dd18892592
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.
Marking all community bugs modified or beyong as closed. |