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

🐛 Ensure :maxFileSize is integer #2074

Merged
merged 1 commit into from
Dec 19, 2023
Merged

🐛 Ensure :maxFileSize is integer #2074

merged 1 commit into from
Dec 19, 2023

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Dec 19, 2023

Prior to this commit, we were casting the value to string. However Hyrax attempts to do division on that string.

See https://github.com/samvera/hyrax/blob/b7891b758411c59f71ff54212e0d250fcc47e35f/app/views/hyrax/base/_form_files.html.erb#L6-L15

@laritakr laritakr added the major-ver for release notes label Dec 19, 2023
@jeremyf jeremyf merged commit 9e098a8 into hyrax-5-upgrade Dec 19, 2023
2 of 4 checks passed
@jeremyf jeremyf deleted the fix-size branch December 19, 2023 20:36
@kirkkwang kirkkwang mentioned this pull request Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants