You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Raminderjeet Singh (Updated) (JIRA)" <ji...@apache.org> on 2012/03/13 23:46:42 UTC

[jira] [Updated] (RAVE-511) Use User model for new user creation

     [ https://issues.apache.org/jira/browse/RAVE-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raminderjeet Singh updated RAVE-511:
------------------------------------

    Description: 
Rave have User and NewUser models. NewUser model is used to create new user and is converted to User model for persistence in UserService. In UserController create user method expects NewUser and updateUserDetail expects User so in case user is using application/xml request type then user need 2 different xml schema for user creation/update. If you are updating User model, NewUser model also need to be update to set new elements while user creation.

 

  was:In Rave we have User and NewUser models. NewUser model is used to create new user and is converted to User in UserService. Developer need to update 2 models if User object need to be extended. 

    
> Use User model for new user creation
> ------------------------------------
>
>                 Key: RAVE-511
>                 URL: https://issues.apache.org/jira/browse/RAVE-511
>             Project: Rave
>          Issue Type: Improvement
>            Reporter: Raminderjeet Singh
>
> Rave have User and NewUser models. NewUser model is used to create new user and is converted to User model for persistence in UserService. In UserController create user method expects NewUser and updateUserDetail expects User so in case user is using application/xml request type then user need 2 different xml schema for user creation/update. If you are updating User model, NewUser model also need to be update to set new elements while user creation.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira