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

MoodleNet: Remove invalid template call

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-79420-master
    • Hide

      Initial setup

      1. Set up and run the MoodleNet mock server (https://github.com/HuongNV13/moodlenet_mock/) using branch addDownloadFile and 'moodlenet.test' as the domain.
      2. Log in as admin.
      3. Navigate to Admin > Security > HTTP security and clear the values for "cURL blocked hosts list " and "cURL allowed ports list" so they do not prevent us from reaching the MoodleNet mock server.
      4. Navigate to "Site administration > Development > Experimental".
      5. Enable the "Enable sharing to MoodleNet" setting.
      6. Navigate to Site Administration / Server / OAuth 2 services.
      7. Click on the MoodleNet button.
      8. Change the Service base URL to: moodlenet.test
      9. Change the Name to: MoodleNet Local
      10. Save changes.
      11. Navigate to Site Administration / General / MoodleNet outbound settings.
      12. Select MoodleNet Local in the OAuth 2 service dropdown.
      13. Create a new Course.
      14. Create a Forum called: Forum 1.

      Testing

      1. Turn on the Browser developer tool.
      2. Navigate to the created Forum.
      3. Run php admin/cli/purge_caches.php.
      4. Reload the Forum page several times.
      5. Verify that there is no error related to filenotfound.
      Show
      Initial setup Set up and run the MoodleNet mock server ( https://github.com/HuongNV13/moodlenet_mock/ ) using branch addDownloadFile and 'moodlenet.test' as the domain. Log in as admin. Navigate to Admin > Security > HTTP security and clear the values for "cURL blocked hosts list " and "cURL allowed ports list" so they do not prevent us from reaching the MoodleNet mock server. Navigate to "Site administration > Development > Experimental". Enable the "Enable sharing to MoodleNet" setting. Navigate to Site Administration / Server / OAuth 2 services. Click on the MoodleNet button. Change the Service base URL to: moodlenet.test Change the Name to: MoodleNet Local Save changes. Navigate to Site Administration / General / MoodleNet outbound settings. Select MoodleNet Local in the OAuth 2 service dropdown. Create a new Course. Create a Forum called: Forum 1. Testing Turn on the Browser developer tool. Navigate to the created Forum. Run php admin/cli/purge_caches.php. Reload the Forum page several times. Verify that there is no error related to filenotfound.
    • 1
    • Team Hedgehog 2023 Sprint 3.2, Team Hedgehog 2023 Sprint 3.3

      lib/amd/src/moodlenet/send_resource.js is calling an invalid Mustache template file.

      It's core/moodlenet/send_course_modal_base

      We need to remove that.

        1. error.png
          error.png
          116 kB
        2. MDL-79420.png
          MDL-79420.png
          132 kB

            huongn@moodle.com Huong Nguyen
            huongn@moodle.com Huong Nguyen
            David Woloszyn David Woloszyn
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 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, 26 minutes
                1h 26m

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