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

Unable to set key and secret for a manually configured tool instance restored in Moodle 4.3

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-80646-403
    • MDL-80646-main
    • Hide

      Prerequisites

      • Moodle 4.2 site.
      • Moodle 4.3 site.

      Test

      1. As an admin login on the Moodle 4.2 site.
      2. Create a course.
      3. In the course create an External tool activity, configure it as follows and then save the changes:
        (make sure to expand all settings under the General section)
        • Activity name: External tool - manual
        • Consumer key: key
        • Shared secret: secret
        • Tool URL: _http://example.com_
      4. Create a backup of the course using the default backup settings.
      5. Log in as an admin on the Moodle 4.3 site.
      6. Restore the backup of the 4.2 course as a new course on the 4.3 site.
      7. Go to the external tool activity in the restored course.
      8. Go to the settings page of the external tool instance.
        • confirm the 'Consumer key' and 'Shared secret' fields are empty and enabled.
      9. Enter the same values for 'Consumer key' and 'Shared secret' as previously (key/secret) and save.
      10. Go back to the settings page of the external tool instance.
        • confirm you can see the same configuration from earlier (step 9) still stored for the 'Consumer key' and 'Shared secret' settings.
      Show
      Prerequisites Moodle 4.2 site. Moodle 4.3 site. Test As an admin login on the Moodle 4.2 site. Create a course. In the course create an External tool activity, configure it as follows and then save the changes: (make sure to expand all settings under the General section) Activity name: External tool - manual Consumer key: key Shared secret: secret Tool URL: _ http://example.com_ Create a backup of the course using the default backup settings. Log in as an admin on the Moodle 4.3 site. Restore the backup of the 4.2 course as a new course on the 4.3 site. Go to the external tool activity in the restored course. Go to the settings page of the external tool instance. confirm the 'Consumer key' and 'Shared secret' fields are empty and enabled . Enter the same values for 'Consumer key' and 'Shared secret' as previously (key/secret) and save. Go back to the settings page of the external tool instance. confirm you can see the same configuration from earlier (step 9) still stored for the 'Consumer key' and 'Shared secret' settings.
    • 3
    • Academy - Sprint 2024-I1.2

      Steps to reproduce:

      • create a course in a moodle 4.2.5 installation
      • In the course, add an external tool activity by manually configuring it as an LTI1.1/1.1 instance with a consumer key and secret and set custom parameters if needed. Save and display.
      • the external tool is shown
      • under "more" make a backup from the course and download it
      • go to a moodle 4.3 installation and restore the course as a new course
      • click on the external tool activity 
      • there is just a blank page, no tool is shown. 

      created on a moodle 4.2.5 installation and restored on sandbox 4.3

       

            Geshoski Mihail Geshoski
            noralanges Nora Langes
            Jake Dallimore Jake Dallimore
            Glyn (Mathew) May Glyn (Mathew) May
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 41 minutes
                4h 41m

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