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

Colm O hEigeartaigh updated SYNCOPE-45:
---------------------------------------

    Description: 

There is a lack of consistency in how the REST controllers handle deletion. For 
example, RoleController.delete() does not return the deleted RoleTO object, 
unlike the corresponding method in UserController. It also uses the HTTP delete 
verb instead of get as per the UserController. I suggest there should be 
consistent behaviour for delete across the controllers, in other words all 
delete functionality should use HTTP GET and return the deleted object.

  was:

RoleController.delete() does not return the deleted RoleTO object, unlike the 
corresponding method in UserController. It also uses the
HTTP delete verb instead of get as per the UserController. I suggest there 
should be consistent behaviour for delete across the controllers, in other 
words all delete functionality should use HTTP GET and return the deleted 
object.



Updating description to make it clearer.
                
> Make all delete operations consistent in the REST API
> -----------------------------------------------------
>
>                 Key: SYNCOPE-45
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-45
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>
> There is a lack of consistency in how the REST controllers handle deletion. 
> For example, RoleController.delete() does not return the deleted RoleTO 
> object, unlike the corresponding method in UserController. It also uses the 
> HTTP delete verb instead of get as per the UserController. I suggest there 
> should be consistent behaviour for delete across the controllers, in other 
> words all delete functionality should use HTTP GET and return the deleted 
> object.

--
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

        

Reply via email to