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

User profiles can cause infinite requests with custom course themes

XMLWordPrintable

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

      In a site with a course using a different theme than the site default, with a different default avatar:

      1. Log in with a user who hasn't uploaded an avatar (is using the default).
      2. Go to the course with the different theme.
      3. Open the list of participants, and click on the current user.
      4. If this fix works properly, only a couple of requests should be triggered. Before this fix, this would cause an infinite request loop.
      Show
      In a site with a course using a different theme than the site default, with a different default avatar: Log in with a user who hasn't uploaded an avatar (is using the default). Go to the course with the different theme. Open the list of participants, and click on the current user. If this fix works properly, only a couple of requests should be triggered. Before this fix, this would cause an infinite request loop.
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Moodle App 3.9.5

      The current implementation of user profiles compare the avatar url from site info with the url obtained from the user profile in a course to see if they should be refreshed. This can cause an infinite requests loop when the course is using a different theme than the site, because the urls of the default avatar can differ, for example:

      https://mymoodlesite.com/theme/image.php/boost/defaultavatar.jpg
      https://mymoodlesite.com/theme/image.php/customtheme/defaultavatar.jpg
      

            noeldemartin Noel De Martin
            noeldemartin Noel De Martin
            Dani Palou Dani Palou
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            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.