Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3868

Badges are empty when navigating to own user profile from online users block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0.0
    • 3.9.5
    • Users
    • Hide

      This issue only needs to be tested in 1 device.

      1. In a site as admin, add the "Online users" block in the Dashboard. Master site already has it.
      2. If needed, create a new user in the site and assign it at least 1 badge in the site context. E.g. u2 in master site already has them, probably other test users too.
      3. Login as the user with the badges in the app.
      4. Perform a PTR in the Dashboard (to make sure you appear in the Online users block).
      5. Click in your user name in the Online users block.
      6. In the profile page, click "Badges". Check that the app successfully displays the site badges for the user.
      Show
      This issue only needs to be tested in 1 device. In a site as admin, add the "Online users" block in the Dashboard. Master site already has it. If needed, create a new user in the site and assign it at least 1 badge in the site context. E.g. u2 in master site already has them, probably other test users too. Login as the user with the badges in the app. Perform a PTR in the Dashboard (to make sure you appear in the Online users block). Click in your user name in the Online users block. In the profile page, click "Badges". Check that the app successfully displays the site badges for the user.
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

      To reproduce, on a user with some badge.

      1. Enter the app and check on your own profile if you can see the badges.
      2. Now from the site home Online users block (add it if not there) click on yourself.
      3. Navigate to badges and check it's empty.

      This is because it uses SITEID course on the profile link (and then the badges link).

      Possible solution is to remove courseid from profile page when it's related to SITEID.

            dpalou Dani Palou
            pferre22 Pau Ferrer
            Pau Ferrer Pau Ferrer
            Pau Ferrer Pau Ferrer
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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