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

When exporting and importing a course with a questiontype "Freehand Drawing" the image for the question disappears #7

Open
isacsonk opened this issue May 20, 2014 · 6 comments
Labels

Comments

@isacsonk
Copy link

how to reproduce:

  • create course with freehand drawing question type
  • export and import
    --> image is missing

requirement:
image should come along

@isacsonk isacsonk added the bug label May 20, 2014
@ghost
Copy link

ghost commented May 27, 2014

This is weird because I was sure I solved exactly this problem in this commit: a75144a I will try to reproduce it again and get back to you..

@ghost
Copy link

ghost commented May 27, 2014

Despite my best efforts was not able to reproduce this error. I'd need access to a computer where this problem occurs to fix it.

@isacsonk
Copy link
Author

I tried to test this on the testserver, where the newest code should be installed, but restoring using the option for the Destination "Delete the contents of this course and then restore" didn't work. The process froze at step 6 before it should be finished at step 7. This works on live and then the image is gone in the freehanddrawing question. If you use the option "Merge the backup course into this course" as destination the image is still there.
restore6

@isacsonk
Copy link
Author

It seems like the image gets lost in the export process, because when I export from the Live Server and import and merge it into an existing course on the test server the image is lost.

@isacsonk
Copy link
Author

Today when I backup and restore the test into an existing course the image is lost.

@isacsonk
Copy link
Author

I asked KR, the newest code is on the testserver, still, when I backup and restore a course with a test with a freehand drawing question, the image is gone.
how to reproduce:

  1. in a course add a quiz with a freehanddrawing picture
  2. standing on the course, click "backup" in the left navigation
  3. keep the default settings and click next and perform the backup
  4. when the backup was successfully created, click continue
  5. beneath the title "course backup area" there is the backupmoodle-file, click on restore to the right of the file to restore it
  6. click continue without changing any settings
  7. select "Delete the contents of this course and then restore" and click continue
  8. don't change any settings click next and then perform restore
  9. when the course was restored successfully click continue
  10. go to the quiz with the freehand drawing question
  11. click on preview
    --> instead of the image the text "Unable to fetch canvas background image file" is shown

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

No branches or pull requests

1 participant