diff --git a/src/qtism/runtime/storage/binary/AbstractQtiBinaryStorage.php b/src/qtism/runtime/storage/binary/AbstractQtiBinaryStorage.php index 41be01b62..0554dbaf3 100644 --- a/src/qtism/runtime/storage/binary/AbstractQtiBinaryStorage.php +++ b/src/qtism/runtime/storage/binary/AbstractQtiBinaryStorage.php @@ -152,6 +152,7 @@ public function persist(AssessmentTestSession $assessmentTestSession) $access->writeTinyInt($route->count()); $itemSessionStore = $assessmentTestSession->getAssessmentItemSessionStore(); $pendingResponseStore = $assessmentTestSession->getPendingResponseStore(); + $oldRoutePosition = $route->getPosition(); foreach ($route as $routeItem) { $item = $routeItem->getAssessmentItemRef(); @@ -183,6 +184,8 @@ public function persist(AssessmentTestSession $assessmentTestSession) continue; } } + + $route->setPosition($oldRoutePosition); // Deal with test session configuration. // !!! AutoForward (not in use anymore, fake it).