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

Editing Samigo item can cause NoSuchElement exception

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • 19 status:
      Verified
    • Test Plan:
      Hide

      Add Tests and quizzes to a site.

      In T&Q, create an assessment,  a MCQ.

      Publish it.

      Now edit the assessment, and click edit on the actual MCQ item, you should be taken to the item editing screen.

      Show
      Add Tests and quizzes to a site. In T&Q, create an assessment,  a MCQ. Publish it. Now edit the assessment, and click edit on the actual MCQ item, you should be taken to the item editing screen.

      Description

      Editing Samigo item can cause NoSuchElement exception.

      ERROR [http-apr-9232-exec-6] org.sakaiproject.tool.assessment.ui.listener.author.ItemModifyListener.populateItemBean Could not populate ItemBean
      java.util.NoSuchElementException
      at java.util.HashMap$HashIterator.nextNode(HashMap.java:1447)
      at java.util.HashMap$KeyIterator.next(HashMap.java:1469)
      at org.hibernate.collection.internal.AbstractPersistentCollection$IteratorProxy.next(AbstractPersistentCollection.java:828)
      at org.sakaiproject.tool.assessment.ui.listener.author.ItemModifyListener.populateItemText(ItemModifyListener.java:553)
      at org.sakaiproject.tool.assessment.ui.listener.author.ItemModifyListener.populateItemBean(ItemModifyListener.java:293)
      at org.sakaiproject.tool.assessment.ui.listener.author.ItemModifyListener.processAction(ItemModifyListener.java:125)
      at javax.faces.event.ActionEvent.processListener(ActionEvent.java:96)
      at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:839)
      at javax.faces.component.UICommand.broadcast(UICommand.java:315)
      at javax.faces.component.UIData.broadcast(UIData.java:1158)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:87

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    a.fish@lancaster.ac.uk Adrian Fish
                    Reporter:
                    a.fish@lancaster.ac.uk Adrian Fish
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    4 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration