Closed
Description
If Admin tries to save customer entering not valid values for some attribute which has Input Validation set up, and uploads file at the same time he gots fatal error.
Please note: if you just enter wrong value for some attribute XOR upload file you will not get fatal.
Steps to Reproduce:
- Create new Customer attribute for URL (Stores -> Attributes -> Customer):
* Input Type = Text Field
* Values Required = Yes
* Default Value = www.google.com
* Input Validation = URL
- Create new Customer attribute for file:
* Input Type = File
* Values Required = Yes
- Create new customer:
* URL field - leave default value
* File attribute - upload some image
- Fill all other required fields
- Click Save button
Actual Result:
(-) Fatal Error
Note: if you click back button in browser or open some other page in backend you will see error messages about field which had wrong values
Expected Result:
(/) Error message appears for each field which has wrong value
Metadata
Metadata
Assignees
Labels
Issue recommended for the contribution dayGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 4. Acknowledged. Issue is added to backlog and ready for developmentA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchMajor restrictions or short-term circumventions are required until a fix is available.
Type
Projects
Status
Done