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

Course duplication fails to duplicate logos #3677

Closed
trangmei opened this issue Oct 10, 2019 · 2 comments · Fixed by #3680
Closed

Course duplication fails to duplicate logos #3677

trangmei opened this issue Oct 10, 2019 · 2 comments · Fixed by #3680
Labels

Comments

@trangmei
Copy link
Contributor

trangmei commented Oct 10, 2019

Should

Course duplication creates a new folder in coursemology2 bucket and populate it with logos copied from the original course.
image

Is

This path/folder failed to be created for the new course, causing logos for the new course to appear broken
image

For example, when course 1776 is duplicated to create course 1777, coursemology would try to display the new course's logo from https://coursemology2.s3-ap-southeast-1.amazonaws.com/uploads/images/course/1777/logo/medium_logo-x.png.jpeg. But since the path does not actually exist on S3 bucket, trying to access this link with the correct credentials will yield invalid key error message from AWS.

So it seems that our DB assumes that the logos are correctly duplicated on S3, when in fact it is not.

@trangmei trangmei added the Bug label Oct 10, 2019
@trangmei
Copy link
Contributor Author

Current version of possibly related dependencies

image

image

@trangmei
Copy link
Contributor Author

Earliest course to encounter this was https://montfortsec.coursemology.org/courses/1758 (Copied at 16-09-2019 11:18).

Could have been broken since #3641

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

Successfully merging a pull request may close this issue.

1 participant