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)

            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: