hubzero / hubzero-cms

Platform for Scientific Collaboration
https://hubzero.org
GNU General Public License v2.0
47 stars 57 forks source link

[GEOD-118] Add in new file types: AVI and PRM #1712

Closed jessewoo closed 4 months ago

jessewoo commented 4 months ago

Source JIRA card(s) and hubzero ticket(s)

https://geodynamics.org/support/ticket/316 https://sdx-sdsc.atlassian.net/browse/GEOD-118

Brief summary of the issue

Client unable to upload a .prm and .avi file to Courses. They were getting an error message of "file type not recognized". Client tried to add it as a file type in Media Manager, but it is still not being recognized.

Brief summary of the fix

Looking at the POST API that gets called during the drop of a file - '/api/courses/asset/handlers', the developer looked at several files:

Once the developer added those files type, files were able to be added to the server and it showed on the table 'jos_courses_assets'

Brief summary of your testing

Tried it on https://woo.aws.hubzero.org/courses/calculus101/calculus101-indv/outline after creating new course, new unit, new offering. Was able to edit outline and add in media files.

Do the change needs to be hotfixed to any production hubs before a normal core rollout

Yes, it needs to be released because client needs it for production level courses. Sooner that we can cherry pick, the better

Double check someone is assigned to review the ticket

Yes - Nick and David