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

download data #22

Open
paskuale75 opened this issue Apr 13, 2020 · 4 comments
Open

download data #22

paskuale75 opened this issue Apr 13, 2020 · 4 comments

Comments

@paskuale75
Copy link
Contributor

paskuale75 commented Apr 13, 2020

In actionDownload the $model->validate() always returns false ('scenario' => 'settings') I can't even getErrors () to understand why... for solve it I pass validation ($model->validate(false) ) but it does not seem to me a definitive solution.

@paskuale75
Copy link
Contributor Author

I have divided the if conditions... and now I can see the cause of the failed validation:

[
    'name' => [
        0 => 'This name has already been taken'
    ]
    'email' => [
        0 => 'This email address has already been taken'
    ]
]

@paskuale75
Copy link
Contributor Author

Solved issue, but I can't make another PR please @sjaakp there are pulls in the queue, thanks

@rossaddison
Copy link
Contributor

rossaddison commented May 7, 2020

@paskuale75
Copy link
Contributor Author

I have resolved my issue. Please read.

from what I understand it is a very simple scenario problem to be defined better to pass the correct validations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants