Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.6
-
None
Description
Steps to reproduce:
1) Create a new ContentType
2) Create an object of this ContentType, publish it
3) Edit it and save a draft. Repeat this step 6 times to get 6 different drafts.
4) Configure workflow for this ContentType
5) Edit the content object and move it to another workflow stage
Current result:
You will get an exception like the following:
Key "8" in object with ArrayAccess of class "Symfony\Component\Form\FormView" does not exist.
Expected result:
A new draft should be listed in the separated table under the `Versions` tab in AdminUI's content view.
Note:
This is somehow related to the version pagination. If there are less than 5 drafts the exception is not thrown and everything works fine.
Apparently, there is no form field (checkbox) to handle a given version related to the workflow draft.
The exception is thrown via Twig in /ezsystems/ezplatform-admin-ui/src/bundle/Resources/views/content/tab/versions/table.html.twig:45
Attachments
Issue Links
- relates to
-
EZEE-2759 Pagination broken on Versions tab for CI with Workflow
- Confirmed