Bug 626809 - Method: createUser spec incorrectly states required fields
Summary: Method: createUser spec incorrectly states required fields
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/API
Version: RHN Stable
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Sebastian Skracic
QA Contact: Red Hat Network Quality Assurance
URL:
Whiteboard: US=4436
Depends On:
Blocks: 642708
TreeView+ depends on / blocked
 
Reported: 2010-08-24 13:36 UTC by John Ruemker
Modified: 2018-11-14 19:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-14 13:47:58 UTC
Embargoed:


Attachments (Terms of Use)

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.


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