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

failed to populateItemBean error in Samigo question pools

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.5
    • Fix Version/s: 10.6, 11.0
    • Labels:
      None
    • 10 status:
      Resolved
    • Previous Issue Keys:
      SAM-2591

      Description

      We're seeing this error in Samigo after 10.5 and I believe it's related to recent fixes for 10.5 an incorrect assumptions about the question pool.

      There now only 2 places were false is returned from populateItemBean and the second results in a separate stack trace in the log so it has to be this one.

      This is the code that is being used to determine if it's a question pool, but it already knows if it's a question pool.

            // Check permissions: if sequence is null, the item is *not* in a pool
            if (itemfacade.getSequence() != null) 
      

      I believe it's checking individual questions in the pool to see if they have a sequence as well as the pool, and when the individual questions do, and the user doesn't have access to edit they're getting an error.

      I don't know if this should be critical or blocker, I guess it would depend on how many people hit it but the fix seems straightforward.

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: failed to populateItemBean.
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:75)
      caused by: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: failed to populateItemBean.
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1536)
      caused by: javax.servlet.ServletException: failed to populateItemBean.
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      caused by: java.lang.RuntimeException: failed to populateItemBean.
      at org.sakaiproject.tool.assessment.ui.listener.author.ItemModifyListener.processAction(ItemModifyListener.java:116)
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                jonespm Matthew Jones
                Reporter:
                jonespm Matthew Jones
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration