Hide Forgot
Description of problem: java script rules in Candlepin for creating a pool calculate physical qty correctly, but virt qty incorrectly if a multiplier is on a sku. Version-Release number of selected component (if applicable): CP0.3, 0.4 How reproducible: View pools for user account mkhusid_test / redhat in Candlepin FTE or any account with a subscription to SER0198US candlepin-fte.gss.devlab.phx1.redhat.com https://rails-fte.gss.devlab.phx1.redhat.com/management In this case, ordered qty is 10, multiplier is 3 and virt limit is 4. Actual results: Rules calculate physical qty as: product qty * multiplier but virt qty as: product qty * virt limit (not considering multiplier) Physical qty - 30 Virt qty - 40 Expected results: Physical qty: product qty * multiplier Virt qty: product qty * virt limit * multiplier Physical qty - 30 Virt qty - 120