Bug 851735 - Plan id should return freeshift if not set
Summary: Plan id should return freeshift if not set
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: ---
Assignee: Ravi Sankar
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-24 22:45 UTC by Dan McPherson
Modified: 2015-05-15 02:03 UTC (History)
1 user (show)

Fixed In Version: devenv_2084
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-17 21:29:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dan McPherson 2012-08-24 22:45:29 UTC
Description of problem:
Currently we return nil for planid if it isn't set.  We still don't want to set a value in the schema in the case they don't have a billing account but at the model layer can can return freeshift in the model getter without setting it into the instance var.

Comment 1 Ravi Sankar 2012-08-28 00:57:39 UTC
Fixed in git rev. 87c9d2c00f5ad

Comment 2 Meng Bo 2012-08-28 06:48:11 UTC
Checked on devenv_2085, it returns freeshift for new created normal user.

      <login>bmeng</login>
      <consumed-gears>0</consumed-gears>
      <max-gears>3</max-gears>
      <plan-id>freeshift</plan-id>
      <usage-account-id nil="true"></usage-account-id>


Note You need to log in before you can comment on or make changes to this bug.