| Summary: | server-side subscription, management-100, looses its multiplied quantity when refresh_pools is applied | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | John Sefler <jsefler> |
| Component: | candlepin | Assignee: | Justin Harris <jharris> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.5 | CC: | bkearney, jharris, jkeck, spandey |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Solaris | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-30 20:44:26 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 568421 | ||
|
Description
John Sefler
2011-03-08 03:02:11 UTC
This was a bug in the new js refactor. Fixed in commit: 2c02ee19a128afa6e2d9002171523f009462f569 Can this fix also be applied to the candlepin 0.2 branch? I believe it is already applied. ibid Verifying Version... [root@jsefler-f14-candlepin candlepin]# git branch * 0.2 master [root@jsefler-f14-candlepin candlepin]# git show-ref 0.2 7fa0f26c0b967bd0f2a950c45352639bfeef7f7c refs/heads/0.2 9c13d6bf6d83070bbc78638f6ca3bc1dc5267977 refs/remotes/origin/0.2 The automated tests that caught this bug are now passing. Here is the final assert from two tests for each of the ... 201103160632:40.762 - INFO: Forth, in honor of bugzillas 682930, 679617 let's assert that after unsubscribing, the subscription pool's original quantity is restored... 201103160632:40.762 - INFO: Asserted: Actual value of '500' matches expected value: Assuming that nobody else has recently subscribed to this pool, the original pool quantity should be restored after updating the subscription's start/end dates and unsubscribing from the poolId '8a90f8b42ebe07cc012ebe0861fb0125' (Management Add-On). 201103160635:05.290 - INFO: Forth, in honor of bugzillas 682930, 679617 let's assert that after unsubscribing, the subscription pool's original quantity is restored... 201103160635:05.290 - INFO: Asserted: Actual value of '1000' matches expected value: Assuming that nobody else has recently subscribed to this pool, the original pool quantity should be restored after updating the subscription's start/end dates and unsubscribing from the poolId '8a90f8b42ebe07cc012ebe0861980124' (Management Add-On). moving to VERIFIED Group move of VERIFIED Candlepin component bugs to RELEASE_PENDING |