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

Coordinator/Reviewer/Public not able to view all attachments of Matrix Form when used in Portfolio

    XMLWordPrintable

    Details

      Description

      Create a portfolio site with a CIG Coordinator, Reviewer and CIG Participant.
      My Workspace should have the following tools:
      Matrices,
      Portfolios
      Resources

      In the Portfolio site go to Matices tool, import the attached matrix (My Test Matrix) and publish it.
      In the Portfolio Template tool, import the attached Portfolio Template (LMC Resident Portfolio.zip and publish it.

      As a participant, upload some files to your resources folder.
      From My Workspace, go to Matrices and click on first cell. Add forms ( Literature Review Summary) attach a file
      Add another form and attach the same file
      Add another form and attach a different file

      Now go to Portfolio and create a Portfolio using the LMC Portfolio TEmplate. In edit content link your matrix in the first drop down. Share with the Reviewer Role.

      Log in as Reviewer. Go to the portfolio site and you will see the shared portfolio. Click on it, click on Educational Experience tab. Click on the links, all links should work. But only the first link works, the rest give 404 errors.

      The same 404 error is coming if we share with coordinator and public

      2nd link:http://localhost:7070/access/ospPresentation/a6823d83-aff5-4a9b-9820-128eebf8f379/603B2E129DDF26B1CF6C86C9C3B7AEE5/metaobjContent/a6823d83-aff5-4a9b-9820-128eebf8f379/2400c802-ddb6-4721-8d41-a112993f3b4f//content/attachment/~11385398-3015-4299-91a0-2d058349529a/Matrices/2ce82e46-30e3-4b72-90ef-805e1e6ce27a/Jellyfish.jpg

      The following is the stacktrace when i clicked on 2nd link which is not working:
      2014-01-30 14:28:48,624 WARN http-bio-7070-exec-8 org.sakaiproject.content.impl.BaseContentService - PermissionException /content/attachment/~11385398-3015-4299-91a0-2d058349529a/Matrices/2ce82e46-30e3-4b72-90ef-805e1e6ce27a/Jellyfish.jpg
      2014-01-30 14:28:48,625 WARN http-bio-7070-exec-8 org.sakaiproject.content.impl.BaseContentService - PermissionException /content/attachment/~11385398-3015-4299-91a0-2d058349529a/Matrices/2ce82e46-30e3-4b72-90ef-805e1e6ce27a/Jellyfish.jpg
      2014-01-30 14:28:48,631 WARN http-bio-7070-exec-8 org.sakaiproject.content.impl.BaseContentService - PermissionException /content/attachment/~11385398-3015-4299-91a0-2d058349529a/Matrices/2ce82e46-30e3-4b72-90ef-805e1e6ce27a/Jellyfish.jpg
      2014-01-30 14:28:48,631 WARN http-bio-7070-exec-8 org.sakaiproject.content.impl.BaseContentService - PermissionException /content/attachment/~11385398-3015-4299-91a0-2d058349529a/Matrices/2ce82e46-30e3-4b72-90ef-805e1e6ce27a/Jellyfish.jpg
      2014-01-30 14:28:48,631 ERROR http-bio-7070-exec-8 org.sakaiproject.access.tool.AccessServlet - dispatch(): ref: /ospPresentation/a6823d83-aff5-4a9b-9820-128eebf8f379/603B2E129DDF26B1CF6C86C9C3B7AEE5/metaobjContent/a6823d83-aff5-4a9b-9820-128eebf8f379/2400c802-ddb6-4721-8d41-a112993f3b4f/content/attachment/~11385398-3015-4299-91a0-2d058349529a/Matrices/2ce82e46-30e3-4b72-90ef-805e1e6ce27a/Jellyfish.jpgorg.sakaiproject.entity.api.EntityNotDefinedException id=/metaobjContent/a6823d83-aff5-4a9b-9820-128eebf8f379/2400c802-ddb6-4721-8d41-a112993f3b4f/content/attachment/~11385398-3015-4299-91a0-2d058349529a/Matrices/2ce82e46-30e3-4b72-90ef-805e1e6ce27a/Jellyfish.jpg

      1st link: http://localhost:7070/access/ospPresentation/a6823d83-aff5-4a9b-9820-128eebf8f379/603B2E129DDF26B1CF6C86C9C3B7AEE5/metaobjContent/a6823d83-aff5-4a9b-9820-128eebf8f379/2400c802-ddb6-4721-8d41-a112993f3b4f//content/attachment/~11385398-3015-4299-91a0-2d058349529a/Matrices/7d1bc815-bab1-4100-8aa8-76ac2df4aaf0/Hydrangeas.jpg

      The following is the stacktrace when i clicked on 1st link which is working:
      2014-01-30 14:27:40,823 WARN http-bio-7070-exec-4 org.sakaiproject.content.impl.BaseContentService - PermissionException /content/attachment/~11385398-3015-4299-91a0-2d058349529a/Matrices/7d1bc815-bab1-4100-8aa8-76ac2df4aaf0/Hydrangeas.jpg
      2014-01-30 14:27:40,823 WARN http-bio-7070-exec-4 org.sakaiproject.content.impl.BaseContentService - PermissionException /content/attachment/~11385398-3015-4299-91a0-2d058349529a/Matrices/7d1bc815-bab1-4100-8aa8-76ac2df4aaf0/Hydrangeas.jpg
      2014-01-30 14:27:40,841 WARN http-bio-7070-exec-4 org.sakaiproject.access.tool.AccessServlet - dispatch(): exception:
      java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed
      at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:483)
      at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:138)
      at org.sakaiproject.util.RequestFilter$WrappedResponse.sendRedirect(RequestFilter.java:420)
      at org.theospi.portfolio.presentation.model.impl.PresentationHttpAccess.handleAccess(PresentationHttpAccess.java:73)
      at org.sakaiproject.access.tool.AccessServlet.dispatch(AccessServlet.java:338)
      at org.sakaiproject.access.tool.AccessServlet.doGet(AccessServlet.java:184)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:695)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      2014-01-30 14:27:40,841 WARN http-bio-7070-exec-4 org.sakaiproject.access.tool.AccessServlet - sendError: java.lang.IllegalStateException: Cannot call sendError() after the response has been committed

      Atachments:
      My_Test_Matrix(1).zip
      LMC_Resident_Portfolio_(3)(1).zip
      cle-first-link-working-one.txt
      cle-second-link-not-working.txt

      I am trying to fix this issue. I referred SAK-16203, SAK-18924 but i didn't get how to proceed.
      Please help me.

        Gliffy Diagrams

          Zeplin

            Attachments

            1. cle-first-link-working-one.txt
              3 kB
            2. cle-second-link-not-working.txt
              2 kB
            3. LMC_Resident_Portfolio_(3)(1).zip
              491 kB
            4. LMC Resident Portfolio(3)-Working.zip
              496 kB
            5. LMC-static_cwm.xsl
              44 kB
            6. My_Test_Matrix(1).zip
              2 kB
            7. patch.txt
              2 kB
            8. sample.xml
              21 kB

              Activity

                People

                Assignee:
                chmaurer@iupui.edu Chris Maurer
                Reporter:
                chaitanya.cheekate Kumar Ch
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration