- Issue created by @dnt
- First commit to issue fork.
riyas_nr → changed the visibility of the branch 3503297-managedfile-validation-is to hidden.
riyas_nr → changed the visibility of the branch 3503297-managedfile-validation-is to active.
- Merge request !11092Issue #3503297: managed_file: Validation is performed on upload and remove AJAX call → (Open) created by riyas_nr
Since validation is explicitly defined in the getInfo() method through
#element_validate => [[$class, 'validateManagedFile']]
(source), it is clear that validation is intended for theManagedFile
element. Therefore, there is no need to create an empty validation method to disable it, as validation is required and should not be bypassed.I initially raised a MR with a proposed solution to disable validation, but the pipeline failed due to test case failures related to text and the
ManagedFile
element. This indicates that validation is indeed expected and required for this element. We might need to analyze the test failures to determine if they highlight an actual issue or if the approach needs further refinement.