ezsystems/ezp-next — pull request #107 by emodric (2012-10-31 11:14:06+00:00)
Title: Throw BadStateException when creating a user if user with provided login already exists

*DO NOT MERGE!*

Currently, it's possible to create a user with duplicated login. This PR takes care of it by adding additional exception for UserService::createUser method.

Needs review from @docb22 and @tobyS before merging because of API changes and changes in InMemory stubs and API integration tests.