Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.5.1, 1.6.0, 1.5.2, 1.6.1
-
None
Description
Steps to reproduce:
- try to edit a Content the currently logged in user is not allowed to edit
PlatformUI displays the loader but it never disappears.
The console displays the following error:
Uncaught TypeError: versions.forEach is not a function(…)
The issue is located in https://github.com/ezsystems/PlatformUIBundle/blob/v1.6.0/Resources/public/js/models/extensions/ez-contentinfo-base.js#L60 where we don't check for any error before trying to sort the versions.
Attachments
Issue Links
- discovered while testing
-
EZP-26543 Infinite loading when publishing/saving/previewing an unallowed content
- Closed
- relates to
-
EZP-26708 JavaScript error when viewing a Content while not having rights to read its versions
- Closed
- testing discovered
-
EZP-26869 Inconsistent behavior when saving ezplatform home page with an Editor user
- Confirmed