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

    XMLWordPrintable

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            pedro.resende-obsolete@ez.no Pedro Resende (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: