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

Renaming role to a space leads to an error that should be gracefully handled


    • Type: Improvement Improvement
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 1.9.1, 1.7.4, 1.10.0
    • Fix Version/s: QA tracked issues
    • Labels:
    • Environment:

      Operating System: Debian 8
      PHP Version: 5.6.30-0+deb8u1
      Database and version: Mysql 5.5.54-0+deb8u1
      Browser (and version): Firefox 54
      Env: Prod


      This is a follow-up of EZP-25197

      When we set a space as a role name, we have e notification saying

       Failed to load 'http://ezp60.local/pjax/role/update/8' 

      and the response I have on developer tools from the browser is

              <meta charset="UTF-8" />
              <title>An Error Occurred: Bad Request</title>
              <h1>Oops! An Error Occurred</h1>
              <h2>The server returned a "400 Bad Request".</h2>
                  Something is broken. Please let us know what you were doing when this error occurred.
                  We will fix it as soon as possible. Sorry for any inconvenience caused.

      Steps to Reproduce
      • Create a new role
      • Set the name as a space
      • Save the role

        Issue Links


          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          8s 1 Paulo Nunes 20/Jun/17 5:14 PM
          Confirmed Confirmed Backlog Backlog
          30d 22h 18m 1 Adam Wójs 21/Jul/17 3:32 PM
          Backlog Backlog Development Development
          3s 1 Adam Wójs 21/Jul/17 3:32 PM
          Development Development Development Review Development Review
          6s 1 Adam Wójs 21/Jul/17 3:32 PM
          Development Review Development Review Documentation Review done Documentation Review done
          12d 20h 5m 1 Adam Wójs 03/Aug/17 11:38 AM
          Documentation Review done Documentation Review done QA QA
          15m 9s 1 Paulo Nunes 03/Aug/17 11:53 AM
          QA QA Closed Closed
          3h 4m 1 Paulo Nunes 03/Aug/17 2:57 PM


            • Assignee:
              Paulo Nunes (Inactive)
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: