Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-65528

Javascript errors when viewing forum when user can't add a discussion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.7
    • 3.7
    • Forum
    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-65528-master
    • Hide

      Testing Instructions:

      1. Login as an admin.
      2. Create an "Each person posts one discussion" forum.
      3. Open up the browser inspector.
      4. Add a post in the newly created forum.
      5. Confirm no js errors appear in the inspector
      Show
      Testing Instructions: Login as an admin. Create an "Each person posts one discussion" forum. Open up the browser inspector. Add a post in the newly created forum. Confirm no js errors appear in the inspector

      When viewing a forum that the user isn't able to create a discussion we get Javascript errors in the console.

      There are multiple scenarios where this occurs, for example:

      • Viewing a Q and A forum as a user that can't create a discussion (e.g. student)
      • Viewing an "Each user posts single discussion" forum as a user that has already created their single discussion

            peterdias Peter Dias
            ryanwyllie Ryan Wyllie
            Mihail Geshoski Mihail Geshoski
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 40 minutes
                1h 40m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.