Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-16978

Creating a new portfolio as admin fails when trying to select the layout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: trunk, 2.6.0
    • Fix Version/s: None
    • Component/s: OSP: Portfolios
    • Labels:
      None
    • Environment:

      Description

      When I use the OSP portfolios tool to try to create a new portfolio I get the following error. This happens at the point where I attempt to select a layout. It happens for both cases:
      1) Create New Portfolio -> Design Your Own -> Click Create -> Add/Edit Content -> Select Layout -> Select (any of the 3 options)
      2) Create New Portfolio -> Design Your Own -> Click Create -> Add/Edit Content -> New Page -> Select Layout -> Select (any of the 3 options)

      Partial stacktrace:
      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: javax.faces.el.EvaluationException: Error getting property 'layoutPreviewImage' from bean of type org.theospi.portfolio.presentation.tool.DecoratedPage: java.lang.NoSuchMethodError: org.sakaiproject.content.api.ContentResource.getContentLength()J
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
      caused by: org.sakaiproject.tool.api.ToolException: javax.faces.el.EvaluationException: Error getting property 'layoutPreviewImage' from bean of type org.theospi.portfolio.presentation.tool.DecoratedPage: java.lang.NoSuchMethodError: org.sakaiproject.content.api.ContentResource.getContentLength()J
      at org.sakaiproject.spring.util.SpringTool.sendToHelper(SpringTool.java:280)
      caused by: org.apache.jasper.JasperException: javax.faces.el.EvaluationException: Error getting property 'layoutPreviewImage' from bean of type org.theospi.portfolio.presentation.tool.DecoratedPage: java.lang.NoSuchMethodError: org.sakaiproject.content.api.ContentResource.getContentLength()J
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
      caused by: javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'layoutPreviewImage' from bean of type org.theospi.portfolio.presentation.tool.DecoratedPage: java.lang.NoSuchMethodError: org.sakaiproject.content.api.ContentResource.getContentLength()J
      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
      caused by: javax.faces.el.EvaluationException: Error getting property 'layoutPreviewImage' from bean of type org.theospi.portfolio.presentation.tool.DecoratedPage: java.lang.NoSuchMethodError: org.sakaiproject.content.api.ContentResource.getContentLength()J
      at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
      caused by: java.lang.NoSuchMethodError: org.sakaiproject.content.api.ContentResource.getContentLength()J
      at org.theospi.portfolio.shared.model.TechnicalMetadata.<init>(TechnicalMetadata.java:55)
      at org.theospi.portfolio.shared.model.Node.createNode(Node.java:72)
      at org.theospi.portfolio.shared.model.Node.<init>(Node.java:46)
      at org.theospi.portfolio.presentation.model.impl.PresentationManagerImpl.getNode(PresentationManagerImpl.java:2307)
      at org.theospi.portfolio.presentation.model.impl.PresentationManagerImpl.getNode(PresentationManagerImpl.java:2337)
      ...

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  bkirschn Beth Kirschner
                  Reporter:
                  aaronz Aaron Zeckoski (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration