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

History tool failed with an user with contributor rights

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.9.0
    • None
    • None
    • None
    • 4.9.0 M9
    • Oui

      My user is a contributor with access to history of contents but without adminsitrator rights such as users, groups or rights tools

      When opening history of a content, there is a JS error

       TypeError: Ametys.plugins.core.users.UsersDAO.getUserIcon is not a functionTypeError: Ametys.plugins.core.users.UsersDAO.getUserIcon is not a functionat constructor._convertStep2Timeline (http://localhost:8080/cms/plugins/cms/resources/js/Ametys/plugins/cms/content/tool/HistoryTool.js:585:60)at constructor._updateHistoryView (http://localhost:8080/cms/plugins/cms/resources/js/Ametys/plugins/cms/content/tool/HistoryTool.js:380:24)at constructor._updateHistoryViewWithServerResponse (http://localhost:8080/cms/plugins/cms/resources/js/Ametys/plugins/cms/content/tool/HistoryTool.js:298:18)at constructor.<anonymous> (http://localhost:8080/cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:1324:54)

          [CMS-12432] History tool failed with an user with contributor rights

          Laurence Aumeunier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Guillaume Gouin made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Ready to merge [ 10208 ] New: Resolved [ 5 ]
          Magali Franchet made changes -
          Assignee New: Guillaume Gouin [ ggouin ]
          Magali Franchet made changes -
          Status Original: Code review OK [ 10206 ] New: Ready to merge [ 10208 ]
          Magali Franchet made changes -
          Assignee Original: Alexia Belaud [ abelaud ]
          Magali Franchet made changes -
          Assignee New: Alexia Belaud [ abelaud ]
          Laurence Aumeunier made changes -
          Assignee Original: Laurence Aumeunier [ laurence ]
          Laurence Aumeunier made changes -
          Status Original: Available for review [ 10005 ] New: Code review OK [ 10206 ]
          Guillaume Gouin made changes -
          Assignee Original: Guillaume Gouin [ ggouin ] New: Laurence Aumeunier [ laurence ]
          Guillaume Gouin made changes -
          Status Original: In Progress [ 3 ] New: Available for review [ 10005 ]

            ggouin Guillaume Gouin
            laurence Laurence Aumeunier
            Guillaume Gouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: