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

RS: export QTI with user without last name

    XMLWordPrintable

    Details

      Description

      Normally it's not possible but:

      • Someone has a user without last name (synchronisation with external system)
      • A deleted user has some data left behind, in this case the results of a test
      Caused by: java.lang.NullPointerException
       at org.olat.core.util.StringHelper.transformDisplayNameToFileSystemName(StringHelper.java:479)
       at org.olat.ims.qti21.resultexport.QTI21ResultsExportMediaResource.createAssessedMembersDetail(QTI21ResultsExportMediaResource.java:282)
       at org.olat.ims.qti21.resultexport.QTI21ResultsExportMediaResource.exportTestResults(QTI21ResultsExportMediaResource.java:190)
       at org.olat.course.nodes.IQTESTCourseNode.archiveNodeData(IQTESTCourseNode.java:520)
       at org.olat.course.editor.PublishProcess.archiveDeletedNode(PublishProcess.java:534)
       at org.olat.course.editor.PublishProcess.applyPublishSet(PublishProcess.java:445)
       at org.olat.course.editor.EditorMainController$3.execute(EditorMainController.java:1124)
       at org.olat.core.gui.control.generic.wizard.StepsMainRunController.finishWizard(StepsMainRunController.java:383)
       at org.olat.core.gui.control.generic.wizard.StepsMainRunController.event(StepsMainRunController.java:366)
       at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:258)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:255)
       at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:202)
       at org.olat.course.editor.PublishStep01AccessForm.formOK(PublishStep01AccessForm.java:110)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.formFinish(FormBasicController.java:325)
       at org.olat.core.gui.control.generic.wizard.StepFormBasicController.event(StepFormBasicController.java:137)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireValidation(FormWrapperContainer.java:124)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:461)
       at org.olat.core.gui.components.form.flexible.impl.Form.submitAndFinish(Form.java:456)
       at org.olat.core.gui.control.generic.wizard.StepsMainRunController.formInnerEvent(StepsMainRunController.java:215)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:430)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireFormEvent(FormWrapperContainer.java:136)
       at org.olat.core.gui.components.form.flexible.impl.Form.fireFormEvent(Form.java:737)
       at org.olat.core.gui.components.form.flexible.impl.elements.FormLinkImpl.dispatchFormRequest(FormLinkImpl.java:250)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:316)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1249)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:429)
      ... 39 
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: