You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When tracking IDs are attached to blocks (as is the current default) data restoration can result in incorrect completion information if the user has flipped the layout of two components in a block (i.e. by modifying the _layout property).
Propose that _trackingIdType defaults to component in StatefulSession and the documentation is amended to warn users about the potential of the problem described in this issue if the value is changed.
N.B. the pattern of this issue is general; for example, if article is used then any change in the order of descendant models (blocks and components) will result in incorrect data restoration and so on.
Your environment
v5.31.11
all browsers
all devices
Steps to reproduce
Launch a course with tracking enabled (LMS or cookie), select a block with two components and complete only one of the components. Close the course, then update the course by changing the _layout properties of the two components in the selected block; flipping them left/right. Relaunch the course and note that the component previously completed is now incomplete.
Expected behaviour
Completion data should be restored correctly.
Actual behaviour
Completion data was not restored correctly!
The text was updated successfully, but these errors were encountered:
Subject of the enhancement
When tracking IDs are attached to blocks (as is the current default) data restoration can result in incorrect completion information if the user has flipped the layout of two components in a block (i.e. by modifying the
_layout
property).Propose that
_trackingIdType
defaults tocomponent
inStatefulSession
and the documentation is amended to warn users about the potential of the problem described in this issue if the value is changed.N.B. the pattern of this issue is general; for example, if
article
is used then any change in the order of descendant models (blocks and components) will result in incorrect data restoration and so on.Your environment
Steps to reproduce
Launch a course with tracking enabled (LMS or cookie), select a block with two components and complete only one of the components. Close the course, then update the course by changing the
_layout
properties of the two components in the selected block; flipping them left/right. Relaunch the course and note that the component previously completed is now incomplete.Expected behaviour
Completion data should be restored correctly.
Actual behaviour
Completion data was not restored correctly!
The text was updated successfully, but these errors were encountered: