Details
-
Bug
-
Resolution: Fixed
-
Critical
-
2.1.0-beta1
-
None
Description
It's not possible to delete a Draft.
Steps to reproduce:
1. Go to Content -> Content structure
2. Create new Folder
3. Publish
4. Edit it
5. Click "Delete draft"
Expected:
Draft is deleted
Actual:
500, Internal server error:
An exception has been thrown during the rendering of a template ("Could not find 'VersionInfo' with identifier 'array ( 'contentId' => 127, 'versionNo' => 2, )'"). [in vendor/ezsystems/ezplatform-admin-ui/src/bundle/Resources/views/content/content_edit/content_edit.html.twig:59]
Related: https://github.com/ezsystems/ezplatform-admin-ui/pull/376#issuecomment-372341897