Details
-
Bug
-
Resolution: Fixed
-
High
-
2.0.1
Description
Description:
When trying to publish later a Landing Page error occurs. Information about lack of permissions can be seen in network tab (even though I'm an admin).
Steps:
1. Login as admin
2. Go to Page
3. Create new Landing Page
4. Choose "Publish later"
5. Select an hour into the future
6. Submit
Expected:
Content is scheduled for future publication
Actual:
Error notification is displayed. In the network tab following response can be seen:
{"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":401,"errorMessage":"Unauthorized","errorDescription":"User does not have access to 'versionread' 'content' with: contentId '60''"}}
Even though I'm an admin with all permissions.
Note:
It happens on ezplatform-ee (clean installation).
On ezplatform-ee-demo the behaviour is different (steps are the same).
Sometimes the publication in the future works, sometimes it fails with a different error:
{"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":401,"errorMessage":"Unauthorized","errorDescription":"User does not have access to 'PUT \/api\/datebasedpublisher\/v1\/content\/objects\/56\/versions\/1\/schedule\/1517486340' 'Missing or invalid CSRF token'"}}