Skip to content

Start location ignored for reset courses on language change #705

@danielghost

Description

@danielghost

If a course is reset with _restoreStateOnLanguageChange=true on language change, but the current location was no longer within the _startIds, that location will be restored unless _start._force: true. This is because isRouteSpecified is true so the start location is ignored.

This requires the author to understand that the _force value should be true whenever not restoring the state. Should this be something that is automatically applied to prevent the ability to return to a invalid location in these cases?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Awaiting Response

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions