Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigation: specifying unique IDs #53

Open
timhodson opened this issue Nov 5, 2019 · 0 comments
Open

Investigation: specifying unique IDs #53

timhodson opened this issue Nov 5, 2019 · 0 comments

Comments

@timhodson
Copy link
Member

timhodson commented Nov 5, 2019

Investigate: Can we not rely on Moodle to assign IDs for use by resource_link_id.

There are two tables which track resource_link_ids depending on which path is used to create the LTI link.

  • mdl_lti used when using core LTI.
  • mdl_aspirelists defined and used by our plugin

In certain scenarios where courses are restored into a fresh moodle the resource_link_id cannot be guarunteed to be the same. If we could mint our own, and store it we could have it imported into the new moodle database without loss or change.

Moodle is using an auto incremented value for the aspirelists table. The order in which courses are restored will affect the ID that is given to the restored LTI entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant