Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11856

Clicks on "assignment inheritance" reloads the whole tool

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.8.0
    • None
    • None
    • 4.8.0 M8

      After clicking on button, tool is reloaded and focus on what's selected is lost.

       

       

       

          [CMS-11856] Clicks on "assignment inheritance" reloads the whole tool

          Reproductible with a profile that have right to access assignment tool but not right to access profiles' tool.
          This is due to missing import: Ametys.message.MessageTarget.RIGHT and Ametys.message.MessageTarget.PROFILE are undefined.

          Moreover since RUNTIME-3880 the context combobox of this tool is refreshed as soon as a right is created, edited or deleted. Which lead the refresh of whole tool.
          Only the filter combo box of rights should be refreshed in this case.

          Laurence Aumeunier added a comment - Reproductible with a profile that have right to access assignment tool but not right to access profiles' tool. This is due to missing import: Ametys.message.MessageTarget.RIGHT and Ametys.message.MessageTarget.PROFILE are undefined. Moreover since RUNTIME-3880 the context combobox of this tool is refreshed as soon as a right is created, edited or deleted. Which lead the refresh of whole tool. Only the filter combo box of rights should be refreshed in this case.

          User "saisie", profil "saisie" as below:

          Gauthier Ubersfeld added a comment - User "saisie", profil "saisie" as below:

          Cannot reproduce. Test on 4.8M7 and 4.7.7

          Laurence Aumeunier added a comment - Cannot reproduce. Test on 4.8M7 and 4.7.7

            Unassigned Unassigned
            gauthier Gauthier Ubersfeld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: