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

Import a custom SQL report from a course that does not exist throws an error when editing #222

Open
reskit opened this issue Nov 21, 2022 · 0 comments · May be fixed by #223
Open

Import a custom SQL report from a course that does not exist throws an error when editing #222

reskit opened this issue Nov 21, 2022 · 0 comments · May be fixed by #223

Comments

@reskit
Copy link

reskit commented Nov 21, 2022

Steps to reproduce:

  1. Create course A
  2. Create a new custom SQL report in the course A
  3. Enter a SQL valid and save
  4. Export the custom SQL report
  5. Delete course A
  6. Create course B
  7. Import the custom SQL report to course B
  8. Edit SQL and save changes

Custom SQL reports have a courseid param that needs to be replaced when importing to avoid problems when original course id does not exist anymore.

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

Successfully merging a pull request may close this issue.

1 participant