oppia: [BUG]: Not able to click topic tile in the math classroom page

Describe the bug

In the math classroom page (develop branch), the topic tile is not working i.e., on clicking the topic for navigating into the topic viewer page an error message is presented in the console.

URL of the page where the issue is observed.

/learn/math

Steps To Reproduce

Steps to repro:

  1. Create profile and add admin rights
  2. Load dummy topic from the admin page
  3. Add the topic ID into classroom config in the Config tab under /admin
  4. Navigate to the math classroom page at /learn/math
  5. Click on the topic

Expected Behavior

  1. The console error should not be presented
  2. Should be able to click on the topic tile in the classroom and navigate to the topic viewer page.

Screenshots/Videos

https://github.com/oppia/oppia/assets/57531197/d52e3fc3-a1a9-4b4e-91e5-e36a27d5c447

What device are you using?

Desktop

Operating System

Linux

What browsers are you seeing the problem on?

Chrome

Browser version

No response

Additional context

No response

Tips for developers

Before tackling the bug, please use git bisect (see https://git-scm.com/docs/git-bisect) to investigate which PR caused it (you only need to go back as far as commit https://github.com/oppia/oppia/commits/9a334e9). If you find the PR, leave a comment on this issue pointing to it, or just say that it happened before commit 9a334e9 if you could reproduce it there. This will help us fix the issue by reverting the faulty PR.

Also, if this is your first issue, please make sure to follow https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue and https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#setting-things-up before claiming it. Thanks!

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 28 (14 by maintainers)

Commits related to this issue

Most upvoted comments

I have created the PR https://github.com/oppia/oppia/pull/19241. Its under review @Nik-09 or @prafulbbandre PTAL.

Within 2-3 day’s I’ll create the PR because currently i’m out of station. @prafulbbandre

Hello, as this issue has now been assigned, we will keep looking for other open issues. Kind regards and best of luck!

Hi @jeanninedar , Please take a look at this starter Good first issues to get started and rather than asking to get assign try to explain your solution to any open issue this will help you to get assigned to it. If the solution looks good we can assign you the issue. Hope this helps. Thanks!

Hey @prafulbbandre, thank you very much for the advice! We’ll have a look at it 😃