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

Bug: Docs / Library Reference / Validation: missing important information on reset() method #2535

Closed
bivanbi opened this issue Feb 9, 2020 · 3 comments
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@bivanbi
Copy link
Contributor

bivanbi commented Feb 9, 2020

Direction
We use github issues to track bugs, not for support.
If you have a support question, or a feature request, raise these as threads on our
forum.

Describe the bug
Documentation lacks vital information that Validation instance needs to be reset before re-running validation after a previous run that had errors by calling reset() method.

CodeIgniter 4 version
4.0.0rc3

Affected module(s)
Documentation / Library Reference / Validation

Expected behavior, and steps to reproduce if appropriate
Documentation should emphasize that consecutive validations should be preceded by reset() to get rid of error state from previous runs.

@bivanbi bivanbi added the bug Verified issues on the current code behavior or pull requests that will fix them label Feb 9, 2020
@musmanikram
Copy link
Contributor

Can you please create a PR for this?

@bivanbi
Copy link
Contributor Author

bivanbi commented Feb 9, 2020

Will try my best. Sit tight.

@bivanbi
Copy link
Contributor Author

bivanbi commented Feb 10, 2020

Pull request with fix has been approved.

@bivanbi bivanbi closed this as completed Feb 10, 2020
lonnieezell added a commit that referenced this issue Feb 11, 2020
…tion-lacks-reset-method

explanation of reset() method in section Working With Validation fixes #2535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

No branches or pull requests

2 participants