Dataverse Theme - File upload for Logo Image does not have a file size limit if a logo already exists #3680
Labels
Component: JSF
Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React.
Feature: Dataverse General Info
Edit dataverse > "General Information" > Name, Alias, Email, Metadata Fields, et al...
Type: Bug
a defect
User Role: Depositor
Creates datasets, uploads data, etc.
UX & UI: New React UI
Needs enough design work that it should probably go in the new React UI, not JSF
When working on making the dataset thumbnail #3559 consistent with the dataverse theme functionality, I discovered that there is render on the page that shows you one of two file upload widgets. There is an inconsistency between the validation on these two fileUpload widgets. One has the
sizeLimit
attribute and one doesn't. That means if a dataverse theme already has a file uploaded as the logo, and you try to upload a new logo, that file does not have any file size validation applied to it. I was able to upload a 1.3 MB image, when the stated limited is 500 KB.The text was updated successfully, but these errors were encountered: