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

Samigo fails when creating a pool after a warning message

    XMLWordPrintable

    Details

    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-2919

      Description

      Steps to reproduce:

      1. Create a question pool called "First pool".
      2. Try to create another pool called "First pool". This warning message is shown: "You cannot have duplicate pool names. Please choose another name."
      3. Change the pool name to "Second pool" and click "Save": Samigo fails:

      2016-06-07 14:11:37,818 [ajp-nio-8018-exec-6] WARN  org.sakaiproject.tool.assessment.facade.QuestionPoolFacadeQueries- Index: 0, Size: 0
      org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.sakaiproject.tool.assessment.data.dao.questionpool.QuestionPoolData#0]
      	at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435)
      	at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:189)
      	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:178)
      	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215)
      	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
      	at org.sakaiproject.tool.assessment.data.dao.questionpool.QuestionPoolData_$$_jvstae_70.getQuestionPoolItems(QuestionPoolData_$$_jvstae_70.java)
      	at org.sakaiproject.tool.assessment.facade.QuestionPoolFacadeQueries.populateQuestionPoolItemDatas(QuestionPoolFacadeQueries.java:456)
      	at org.sakaiproject.tool.assessment.facade.QuestionPoolFacadeQueries.getPool(QuestionPoolFacadeQueries.java:516)
      	at sun.reflect.GeneratedMethodAccessor1459.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Gnapika Reddy Kudumula Gnapika Reddy Kudumula
                  Reporter:
                  raulsv Raúl Sánchez Vegas
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration