Uploaded image for project: 'Content Editor'
  1. Content Editor
  2. CONTEDIT-311

Unable to open content editor (stories) after block picker was used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.3.5
    • 1.3.4
    • 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

        Attachments

          1. error-stories
            16 kB
          2. stories.png
            stories.png
            140 kB

          Activity

            People

              lam.nguyen Lam Nguyen Bao
              mdamborenea Monica Damborenea
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1d 22m
                    1d 22m