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

Questionnaire: export to qpool results in RS

    XMLWordPrintable

    Details

      Description

      When exporting a questionnaire to question pool a red screen occurs:

       Throwable: javax.persistence.PersistenceException
      
      message:org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.core.commons.services.license.model.ResourceLicenseImpl.resId,javax.persistence.PersistenceException
      
      at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:149)
      at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:157)
      at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:164)
      at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:789)
      at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:767)
      at org.olat.core.commons.services.license.manager.ResourceLicenseDAO.createAndPersist(ResourceLicenseDAO.java:72)
      at org.olat.core.commons.services.license.manager.ResourceLicenseDAO.createAndPersist(ResourceLicenseDAO.java:55)
      at org.olat.core.commons.services.license.manager.ResourceLicenseDAO.createAndPersist(ResourceLicenseDAO.java:51)
      at org.olat.core.commons.services.license.manager.LicenseServiceImpl.loadOrCreateLicense(LicenseServiceImpl.java:113)
      at org.olat.ims.qti.qpool.QTIMetadataConverter.createLicense(QTIMetadataConverter.java:91)
      
      

      While debugging I figured out that the key of the poolItem created in QTI ImportProcess (l.224) is null. Perhaps that's the problem.

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              stephan Stephan Clemenz
              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 - 40 minutes
                40m