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

Share to MoodleNet modal stops working

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-79356-master
    • Hide

      Copied from MDL-75502

      Initial setup

      1. Set up and run the MoodleNet mock server (https://github.com/moodlehq/moodlenet_mock) using 'moodlenet.test' as the domain.
      2. Log in as Admin.
      3. Navigate to Site 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 admin > Development > Experimental
      5. Enable the "Enable sharing to MoodleNet" setting.
      6. Navigate to Site Admin > Server > OAuth 2 services.
      7. Click on the "MoodleNet" button.
      8. Change the Service base URL to: https://moodlenet.test
      9. Change the Name to: MoodleNet Local
      10. Save changes.
      11. Navigate to Site Admin > General > MoodleNet outbound settings.
      12. Select "MoodleNet Local" in the OAuth 2 service dropdown.
      13. Press "Save changes".

      Test scenario (share course)

      1. Create a new Course.
      2. Navigate to the Course.
      3. Click the "More" menu and choose "Share to MoodleNet".
      4. Press "Share".
      5. If you get a popup from the oAuth2 service, press "Allow".
      6. Confirm that you will not see any error.
      7. Confirm that you can share the course successfully.
      Show
      Copied from MDL-75502 Initial setup Set up and run the MoodleNet mock server ( https://github.com/moodlehq/moodlenet_mock ) using 'moodlenet.test' as the domain. Log in as Admin. Navigate to  Site 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 admin > Development > Experimental Enable the "Enable sharing to MoodleNet" setting. Navigate to  Site Admin > Server > OAuth 2 services. Click on the "MoodleNet" button. Change the Service base URL to:  https://moodlenet.test Change the Name to: MoodleNet Local Save changes. Navigate to Site Admin > General > MoodleNet outbound settings. Select "MoodleNet Local" in the OAuth 2 service dropdown. Press "Save changes". Test scenario (share course) Create a new Course. Navigate to the Course. Click the "More" menu and choose "Share to MoodleNet". Press "Share". If you get a popup from the oAuth2 service, press "Allow". Confirm that you will not see any error. Confirm that you can share the course successfully.
    • 1
    • Team Hedgehog 2023 Sprint 3.2

      Steps to replicate:

      1. Setup the MoodleNet server.
      2. Try to share a course or activity.

      Error is:

      Cannot read properties of undefined (reading 'getModal') 

        1. error.png
          error.png
          232 kB
        2. MDL-79356.png
          MDL-79356.png
          75 kB

            huongn@moodle.com Huong Nguyen
            huongn@moodle.com Huong Nguyen
            Safat Shahin Safat Shahin
            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 - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 47 minutes
                1h 47m

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