-
Notifications
You must be signed in to change notification settings - Fork 28
[5.3][Proposal] change array validation msgs to the actual file names instead of index #225
Comments
I think it should already be working. As per my understanding it is from symfony/http-foundation/File/UploadedFile.php and it is already using file' original name:
|
have u used the array validation recently ? , have u tried to display the array errors on the view ? |
If you have a solution why don't you propose it as a PR instead of closing issues? |
@tomschlick because i've been reporting a bug for the same thing for almost 2 years and all am getting is this is not a bug and you dont know what u r talking about. so this is the last time i will report or propose anything, i just added the above solution to make a point , thats all. |
You didn't give any context in laravel/framework#15642 though. You didn't even reference this thread which would have explained what you were talking about. You basically said "there is a bug here", dropped some code and got mad when a maintainer didn't understand. They get 100s of "this doesn't work" issues opened every month so the default is to close when they have little context of what doesn't work. |
1- i add the code to test with what else am i suppose to add ??? this is one of the things i kept asking to be added to the docs since the start of 5.2 , and finally after it was added it gave error and when reported , all i got was
does this actually fix anything ? , does this pave a way to anything ? here is another one that got closed for no explaination what-so-ever having to many responsibilities is not an excuse to keep closing every issue u get ur hands on, |
lets say u have a validation rule like so
so the current returned error msgs are
but what i propose is
and as those files are tied to the attribute name so fetching the errors is as simple as
this is sooooooo much easier for the user understand what went wrong and which files have caused the issue instead of a dumb vague msgs that doesnt help in at all.
laravel/framework#15604
The text was updated successfully, but these errors were encountered: