Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4114

RS when copy a suvey course node

    XMLWordPrintable

    Details

      Description

      <dispatchinfo>
      	<componentinfo>
      		<compname>luTreeRun</compname>
      		<compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.tree.TreeEvent</class&gt;
      			<command>ctncl</command>
      			<tostring>TreeEvent:{cmd:ctncl, nodeid:99934472877926}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.run.RunMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      					
      Throwable: javax.persistence.PersistenceException
      
      message:org.hibernate.PropertyValueException:
       not-null property references a null or transient value : 
      org.olat.modules.forms.model.jpa.EvaluationFormParticipationImpl.survey,javax.persistence.PersistenceException
      
      at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)
      at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)
      at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188)
      at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:810)
      at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:788)
      at org.olat.modules.forms.manager.EvaluationFormParticipationDAO.createParticipation(EvaluationFormParticipationDAO.java:67)
      at org.olat.modules.forms.manager.EvaluationFormManagerImpl.createParticipation(EvaluationFormManagerImpl.java:191)
      at org.olat.course.nodes.survey.SurveyRunController.loadOrCreateParticipation(SurveyRunController.java:160)
      at org.olat.course.nodes.survey.SurveyRunController.loadOrCreateParticipation(SurveyRunController.java:132)
      at org.olat.course.nodes.survey.SurveyRunController.doShowView(SurveyRunController.java:110)
      
      1. cause:
      
      message:not-null
       property references a null or transient value : 
      org.olat.modules.forms.model.jpa.EvaluationFormParticipationImpl.survey,org.hibernate.PropertyValueException
      
      at org.hibernate.engine.internal.Nullability.checkNullability(Nullability.java:111)
      at org.hibernate.engine.internal.Nullability.checkNullability(Nullability.java:55)
      at
       
      org.hibernate.action.internal.AbstractEntityInsertAction.nullifyTransientReferencesIfNotAlready(AbstractEntityInsertAction.java:115)
      at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:69)
      at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645)
      at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282)
      at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263)
      at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317)
      at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:332)
      at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:289)
      

        Attachments

          Activity

            People

            • Assignee:
              uhensler Urs Hensler
              Reporter:
              uhensler Urs Hensler
              Tester:
              Mandy Menzel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h