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

Migrate instance fields to core_ltix link table

XMLWordPrintable

    • MDL-82916-main
    • Hide

      Sanity check upgrade:

      1. Install a site using current main
      2. Checkout this patch
      3. Run the upgrade
      4. Verify the following:
        • Upgrade completes without error (ignore any deprecated capability notices and just refresh the page - that's a known issue and not really a problem).
        • There is a new table lti_resource_link

      Sanity check install

      1. In a fresh, not-yet-installed site, checkout fc29adddf96b42d07bd1e3 (on which the feature branch is based presently)
      2. Apply the patch here (should merge no problems)
      3. Install the site
      4. Verify the following:
        • Install completes without error.
        • There is a new table lti_resource_link

      Upgrade vs install check

      1. Check the DB for both sites, side by side
      2. Verify the same fields and indexes are present (don't stress too much because eventually, ci tools will check this too)
      Show
      Sanity check upgrade: Install a site using current main Checkout this patch Run the upgrade Verify the following: Upgrade completes without error (ignore any deprecated capability notices and just refresh the page - that's a known issue and not really a problem). There is a new table lti_resource_link Sanity check install In a fresh, not-yet-installed site, checkout fc29adddf96b42d07bd1e3 (on which the feature branch is based presently) Apply the patch here (should merge no problems) Install the site Verify the following: Install completes without error. There is a new table lti_resource_link Upgrade vs install check Check the DB for both sites, side by side Verify the same fields and indexes are present (don't stress too much because eventually, ci tools will check this too)
    • Hide

      Fails against automated checks.

      Checked MDL-82916 using repository: https://github.com/snake/moodle

      Should these errors be fixed?

      Built on: Thu 24 Oct 2024 04:55:36 AM UTC

      Show
      Fails against automated checks. Checked MDL-82916 using repository: https://github.com/snake/moodle main [branch: MDL-82916-main | CI Job ] Error: The MDL-82916 -main branch at https://github.com/snake/moodle does not apply clean to origin/main Error: Merge conflict(s) in file(s): Error: version.php Should these errors be fixed? Built on: Thu 24 Oct 2024 04:55:36 AM UTC
    • 3
    • Team Alpha - Sprint 2 I3-2024, Team Alpha - Sprint 3 I3-2024, Team Alpha - Planning I4-2024, Team Alpha - Sprint 1 I4-2024

      1. This is part of MDL-79973 and is just scoped with data migration to table creation in core_ltix. APIs supporting this data will be added in other tasks.

      The goals are:

      1. Create a new table in core_ltix to store resource links for components
      2. Create upgrade code to migrate + drop the relevant fields from the existing 'lti' table (see MDL-82914 for details on which fields and why) Data migration will not happen here but instead in MDL-83509, after mod_lti has been updated to use the new launch APIs.

            jaked Jake Dallimore
            jaked Jake Dallimore
            Mihail Geshoski Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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