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

Renaming role to existing name must be gracefully handled in 1.7.x

    Details

    • Type: Bug Bug
    • Status: Confirmed
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 1.7.4-rc, 1.7.4
    • 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

      Description

      This issue is a follow-up of EZP-27365 and is aimed for 1.7.x.
      EZP-27365 indeed fixes the message in master and 1.10, but not on 1.7

      STEPS TO REPRODUCE:

      1. On the admin UI go to role edit form
      2. Try to create role with duplicated name e.g Editor
      3. Save changes
      4. Message displayed on the bottom is similar to Failed to load 'http://ezp60.local/pjax/role/update/7'

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment - - edited

          Actually, this isn't a translation problem.
          It is actually EZP-25197, fixed in 1.10 (repository-forms 1.8), but not in the LTS version (repository-forms 1.5). Given that the issue existed before, I suggest we take care of it for the next version and leave 1.7.4 as it is. I have already cherry-picked the patch, and it works. The 1.5 branch with this changed has been pushed.

          Could you update the title and description, and test that it doesn't happen on the 1.5 branch (of repository forms) anymore ?

          Show
          Bertrand Dunogier added a comment - - edited Actually, this isn't a translation problem. It is actually EZP-25197 , fixed in 1.10 (repository-forms 1.8), but not in the LTS version (repository-forms 1.5). Given that the issue existed before, I suggest we take care of it for the next version and leave 1.7.4 as it is. I have already cherry-picked the patch, and it works. The 1.5 branch with this changed has been pushed. Could you update the title and description, and test that it doesn't happen on the 1.5 branch (of repository forms) anymore ?

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Nunes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: