Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23156

Uncaught PHP Exception eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue on missing password

    Details

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

        Activity

        Show
        André Rømcke added a comment - Merged in https://github.com/ezsystems/ezpublish-kernel/commit/a47237093c481f869fc6589958ab780c41d1d70e
        Hide
        Paulo Nunes (Inactive) added a comment -

        QA Approved

        Show
        Paulo Nunes (Inactive) added a comment - QA Approved

          People

          • Assignee:
            Unassigned
            Reporter:
            Pedro Resende (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: