Skip to content

When navigating gated content, the previous and next buttons stop working #1546

@mariajgrimaldi

Description

@mariajgrimaldi

Description

When navigating gated content, the previous and next buttons stop working so the user can't go to previous/next subsections.

Expected behavior

As a learner, upon navigating to a gated unit, you should see a message about completing the prerequisite, and both the "Previous" and "Next" buttons should function correctly.

Actual behavior

As a learner, when you navigate to a gated unit, you see the message prompting you to complete the prerequisite, but the "Previous" and "Next" buttons do not work.
https://jam.dev/c/4f02a831-969b-4c18-beab-378b45a09e9e

Steps to reproduce

  1. Log in as a learner and navigate to a unit that is gated by the prerequisite.
  2. Observe the message about completing the prerequisite and attempt to use the "Previous" and "Next" buttons.

Originally reported here: openedx/edx-platform#36826

Metadata

Metadata

Assignees

No one assigned

    Labels

    release testingAffects the upcoming release (attention needed)

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions