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

Avoid calling core_course_get_contents to get URL contents in course page

XMLWordPrintable

    • Hide

      Test on a version previous to 4.0, on a version from 4.0 to 4.3 and 4.4 (dev). With and without subscription plan.

      1. Enter a course and compare the icons from URL resources with the store version (on 4.4 you can compare it with LMS web).
      2. Special test for master (add subscription if there's any): Test the "Course with theme" as well comparing to LMS.

       

      Show
      Test on a version previous to 4.0, on a version from 4.0 to 4.3 and 4.4 (dev). With and without subscription plan. Enter a course and compare the icons from URL resources with the store version (on 4.4 you can compare it with LMS web). Special test for master (add subscription if there's any): Test the "Course with theme" as well comparing to LMS.  
    • MOODLE_403_STABLE
    • MOODLE_404_STABLE
    • Moodle Apps - 2024 i1.2, Moodle Apps - 2024 i1.3, Moodle Apps - 2024 i1.4, Moodle Apps - 2024 i2, Moodle Apps - 2024 i2.1, Moodle Apps - 2024 i2.2

      In the module handler of mod_url, we're calling core_course_get_contents to get the contents of the URL modules in order to:

      • Determine if the open button should be displayed or not. Maybe we can remove this because I'm not sure if it's possible to have a mod_url without a URL.
      • Determine the icon to display.

      Juan will check if it's possible to return the icon of the URL or some similar info inside module.customdata so we don't need to call this WS.

        1. MOBILE-4540_step2_app.png
          209 kB
          Isabel Renedo Rouco
        2. MOBILE-4540_step2_browser.png
          9 kB
          Isabel Renedo Rouco

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

              Created:
              Updated:
              Resolved:

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