Details
-
Bug
-
Resolution: Fixed
-
Critical
-
1.3.4
-
-
Empty show more show less
-
Maintenance 41
-
1
Description
When you create a story, while editing choose the BlockPickerDialog, save the story, and afterwards if you try to open it up again you get an error and are unable to open the story.
If you refresh the page, the error is gone.
Steps to reproduce
- open stories app, create a new story
- Fill title/ lead text
- Add block, choose "others" to display BlockPickerDialog

- Save
- Close the story (not the stories app)
- Try to open again
- You get an error and it is not possible to open the story again unless you close the app or refresh the website. Find the full error attached error-stories

2020-11-13 15:35:20,131 ERROR fo.magnolia.ui.contentapp.browser.BrowserPresenter: An error occurred while executing action [editStory] info.magnolia.ui.api.action.ActionExecutionException: Could not execute EditItemAction: at info.magnolia.ui.contentapp.detail.action.EditItemAction.execute(EditItemAction.java:84) ~ ... Caused by: java.lang.ClassCastException: info.magnolia.ui.vaadin.integration.jcr.JcrNodeAdapter cannot be cast to com.vaadin.v7.data.util.BeanItem ... 130 more
Expected results
You should be able to re-open the story after it is saved
Actual results
You get an error when you try to re-open the story
Workaround
- Refresh the page (through browser, by closing/opening app or log-out/in)
Checklists
Acceptance criteria