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

Sharing Portfolio with Guest Email Generates Intermittant Error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.0
    • Component/s: OSP: Portfolios
    • Labels:
      None
    • Environment:
      win xp sp2; ie 7.x, Sakai QA Network qa2-osp (svn tags/sakai_2-5-0_QA_001_GMT) using Oracle - Built: 09/19/07 10:41 - Sakai Revision: 35415 - Server "qa2-osp"

      Description

      After creating a new free-form portfolio, I attempted to share it with guest email users. The first time I tried, I received an error with stack trace when I clicked the add button after entering the address. I tried several more times, both from My Workspace and from a portfolio worksite, using multiple email. addresses. The error occured intermittently with no recognizable pattern. To reproduce:

      1. Create a new portfolio
      2. Click share.
      3. Enter an email address under "Share with Guest Users"
      4. Click Add.
      5. Repeat steps 3 and 4 until error occurs.

      Technical Details
      This information will automatically be included in your bug report.

      org.sakaiproject.tool.api.ToolException: #

      {audience.processActionAddEmailUser}: javax.faces.el.EvaluationException: java.lang.UnsupportedOperationException: Tried to change user ID from tatarr@iupui.edu to tatarr@iupui.edu
      at org.sakaiproject.spring.util.SpringTool.sendToHelper(SpringTool.java:280)
      caused by: javax.servlet.ServletException: #{audience.processActionAddEmailUser}

      : javax.faces.el.EvaluationException: java.lang.UnsupportedOperationException: Tried to change user ID from tatarr@iupui.edu to tatarr@iupui.edu
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      caused by: javax.faces.FacesException: #

      {audience.processActionAddEmailUser}

      : javax.faces.el.EvaluationException: java.lang.UnsupportedOperationException: Tried to change user ID from tatarr@iupui.edu to tatarr@iupui.edu
      at javax.faces.component.UICommand.broadcast(UICommand.java:312)
      caused by: javax.faces.el.EvaluationException: java.lang.UnsupportedOperationException: Tried to change user ID from tatarr@iupui.edu to tatarr@iupui.edu
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
      caused by: java.lang.UnsupportedOperationException: Tried to change user ID from tatarr@iupui.edu to tatarr@iupui.edu
      at org.sakaiproject.user.impl.BaseUserDirectoryService$BaseUserEdit.setId(BaseUserDirectoryService.java:2311)
      at org.theospi.portfolio.security.impl.AgentManagerOsp.createAgent(AgentManagerOsp.java:31)
      at org.theospi.portfolio.security.tool.AudienceTool.createGuestUser(AudienceTool.java:928)
      at org.theospi.portfolio.security.tool.AudienceTool.findByEmailOrUserName(AudienceTool.java:487)
      at org.theospi.portfolio.security.tool.AudienceTool.processActionAddEmailUser(AudienceTool.java:423)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
      at javax.faces.component.UICommand.broadcast(UICommand.java:312)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
      at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.theospi.portfolio.shared.control.servlet.HelperAwareJsfTool.dispatch(HelperAwareJsfTool.java:161)
      at org.sakaiproject.jsf.util.JsfTool.doPost(JsfTool.java:256)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.help(ActiveToolComponent.java:529)
      at org.sakaiproject.spring.util.SpringTool.sendToHelper(SpringTool.java:280)
      at org.sakaiproject.spring.util.SpringTool.dispatch(SpringTool.java:143)
      at org.sakaiproject.spring.util.SpringTool.doPost(SpringTool.java:306)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:459)
      at org.sakaiproject.portal.charon.CharonPortal.forwardTool(CharonPortal.java:1609)
      at org.sakaiproject.portal.charon.CharonPortal.doTool(CharonPortal.java:1544)
      at org.sakaiproject.portal.charon.CharonPortal.doPost(CharonPortal.java:1061)
      at org.theospi.portfolio.portal.web.XsltPortal.doPost(XsltPortal.java:120)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:592)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      at java.lang.Thread.run(Thread.java:595)

      user: 533e24b7-a840-4c50-879f-66f24a9943cc

      usage-session: c4ed007b-fed2-477c-9cf1-03023979844b

      time: Sep 27, 2007 19:14:03

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    Unassigned
                    Reporter:
                    leward@iupui.edu Lynn E. Ward
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration