Details
-
Bug
-
Resolution: Fixed
-
High
-
5.3, 5.3.1, 5.3.2
Description
In eZ Demo if you click on "Login" and insert a valid username in the "Username" field and leave the "Password" field empty when pressing the "Login" button you'll get a 500 Internal Server Error
The content in ezpublish/logs/prod.log
is
[2014-07-15 16:10:45] request.INFO: Matched route "login_check" (parameters: "_route": "login_check") [] [] [2014-07-15 16:10:45] request.CRITICAL: Uncaught PHP Exception eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue: "Argument 'password' is invalid: '''' is wrong value" at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/UserService.php line 587 {"exception":"[object] (eZ\\Publish\\Core\\Base\\Exceptions\\InvalidArgumentValue: Argument 'password' is invalid: '''' is wrong value at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/UserService.php:587)"} [] [2014-07-15 16:10:45] security.DEBUG: Write SecurityContext in the session [] []