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

Test module change not propagated into user session

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 15.3.16, 15.5.1
    • None
    • None

    Description

      problem:

      2 out of 20 test participants get the wrong learningresource "test" (previous exam).
      1 of the 2 has 2 appearances with the wrong learningresource "test". the 3rd appearance is then with the correct test.

      what we know:

      • the test was restricted in access and visibility until the start of the test at 12:35 p.m.
        the course owner had the wrong test resource configured until 11:33.
        at 11:33 this error was corrected
      • Both affected persons entered the course before the change (10:56 and 11:08).
        the person with the 3 entries has re-entered the course before the last (correct) entry.
        users who (re-)entered the course after 11:33 do not seem to be affected

       

      a diff of the runstructure shows the change of the learningresource

      // diff -u ._oo_vr_11_runstructure.xml runstructure.xml 
      --- ._oo_vr_11_runstructure.xml	2021-02-22 23:30:46.151556000 +0100
      +++ runstructure.xml	2021-02-23 11:33:21.893561000 +0100
      @@ -600,7 +600,7 @@
                   </entry>
                   <entry>
                     <string>repoSoftkey</string>
      -              <string>uibkolat_1_102935772826248</string>
      +              <string>uibkolat_1_103299268257188</string>
                   </entry>
                   <entry>
                     <string>resultsEndTestDate</string>
      
      

      a diff of the editortreemodel shows that the dirty flag is set on the affected course element.

      // diff -u ._oo_vr_62_editortreemodel.xml ._oo_vr_63_editortreemodel.xml
      --- ._oo_vr_62_editortreemodel.xml	2021-02-23 11:28:45.844788000 +0100
      +++ ._oo_vr_63_editortreemodel.xml	2021-02-23 11:28:45.888802000 +0100
      @@ -652,7 +652,7 @@
                     </entry>
                     <entry>
                       <string>repoSoftkey</string>
      -                <string>uibkolat_1_102935772826248</string>
      +                <string>uibkolat_1_103299268257188</string>
                     </entry>
                     <entry>
                       <string>resultsEndTestDate</string>
      @@ -723,7 +723,7 @@
                   <assessmentModeViewResults>false</assessmentModeViewResults>
                 </preConditionAccess>
               </cn>
      -        <dirty>false</dirty>
      +        <dirty>true</dirty>
               <deleted>false</deleted>
               <newnode>false</newnode>
             </org.olat.course.tree.CourseEditorTreeNode>
      
      

      ... and that the change was published at 11:33 a.m.

      // diff -u ._oo_vr_64_editortreemodel.xml editortreemodel.xml
      --- ._oo_vr_64_editortreemodel.xml	2021-02-23 11:33:21.907636000 +0100
      +++ editortreemodel.xml	2021-02-23 11:33:21.926561000 +0100
      @@ -723,7 +723,7 @@
                   <assessmentModeViewResults>false</assessmentModeViewResults>
                 </preConditionAccess>
               </cn>
      -        <dirty>true</dirty>
      +        <dirty>false</dirty>
               <deleted>false</deleted>
               <newnode>false</newnode>
             </org.olat.course.tree.CourseEditorTreeNode>
      @@ -799,7 +799,7 @@
           <deleted>false</deleted>
           <newnode>false</newnode>
         </rootNode>
      -  <latestPublishTimestamp>1614033046137</latestPublishTimestamp>
      +  <latestPublishTimestamp>1614076401863</latestPublishTimestamp>
         <highestNodeId>9223372036853775807</highestNodeId>
         <version>3</version>
       </org.olat.course.tree.CourseEditorTreeModel>
      
      

      the admin log of the course shows a change in the test module at 11:28 (but no publish event at 11:33?)

       

      // [...]
      2/23/2021 11:28	<redacted>		u	edit	node	<redacted>
      2/23/2021 17:11	<redacted>		r	exit	editor		<redacted>
      [...]
      
      

      A way to reproduce the issue:

      • User A open a course
      • An administrator go in Administration > System > Caches and empty the courses cache.
      • The administrator edit the course and publish it
      • User A doesn't see the changes

      Attachments

        Activity

          People

            srosse Stéphane Rossé
            jschindler Julia Schindler
            Mandy Menzel Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: