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

JavaScript error when viewing a Content while not having rights to read its versions

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      • login in PlatformUI with a user that does not have the Role containing content/versionread
      • View any Content

      the console should contain the following error:

      Uncaught TypeError: versions.forEach is not a function
      

      The error is located in https://github.com/ezsystems/PlatformUIBundle/blob/v1.6.1/Resources/public/js/models/extensions/ez-contentinfo-base.js#L60 where the error handling is missing.

      Attachments

        Activity

          People

            Unassigned Unassigned
            damien.pobel-obsolete@ez.no Damien Pobel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: