Uploaded image for project: 'Bloomreach Forge'
  1. Bloomreach Forge
  2. FORGE-362

Page Mgr Support: Unable to Cast HippoDocument

    XMLWordPrintable

Details

    Description

      Page is unable to be copied on v4.0.1 due to failure to cast to HippoDocument

      Error:

      java.lang.ClassCastException: org.hippoecm.hst.content.beans.standard.HippoDocument$Banner$9kf0se93 cannot be cast to org.hippoecm.hst.content.beans.standard.HippoDocument

      Code:

      final Object obj = requestContext.getObjectBeanManager().getObject(sourceAbsolutePath);
       <!-- Snip -->
       final HippoAvailableTranslationsBean<HippoDocumentBean> translations = ((HippoDocument) obj).getAvailableTranslations();

       

      Attachments

        Activity

          People

            npavao Nicholas Pavao
            npavao Nicholas Pavao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: