Bug 626809

Summary: Method: createUser spec incorrectly states required fields
Product: [Retired] Red Hat Network Reporter: John Ruemker <jruemker>
Component: RHN/APIAssignee: Sebastian Skracic <sskracic>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Network Quality Assurance <rhn-qa-list>
Severity: medium Docs Contact:
Priority: low    
Version: RHN StableCC: acarter, tao, vambati
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: US=4436
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-14 13:47:58 UTC Type: ---
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: 642708    

Description John Ruemker 2010-08-24 13:36:24 UTC
Description of problem: The specification for the createUser method in the RHN API states:

   address2 is optional; all other details are REQUIRED  

(https://rhn.redhat.com/rhn/apidoc/user/UserHandler.jsp#createUser), but state is also optional if the country is non-US.  I have tested using a UK address and no state and the user creation succeeded.  The documentation should be updated to reflect this optional parameter so as to avoid confusion amongst users.  


Version-Release number of selected component (if applicable): Hosted

Comment 1 Sebastian Skracic 2010-10-20 13:49:31 UTC
Apidoc fix provided in 7d610f1db870fbcf406b2e69d78734961efdc4b1.

Comment 2 Sebastian Skracic 2010-10-20 14:16:58 UTC
On WEBDEV.

Comment 3 venkat 2010-10-26 15:17:11 UTC
verified in dev.