You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which operating systems have you tested for this bug?
macOS, Linux
Which server did you use?
apache
Database
MySQL 5.7, 10.5.22-MariaDB
What happened?
When running validation in the controller and grabbing the validated data with $this->validator->getValidated(), the data for double wild card rules (eg dates.*.*) is missing.
PHP Version
8.3
CodeIgniter4 Version
4.5.5
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
macOS, Linux
Which server did you use?
apache
Database
MySQL 5.7, 10.5.22-MariaDB
What happened?
When running validation in the controller and grabbing the validated data with
$this->validator->getValidated()
, the data for double wild card rules (egdates.*.*
) is missing.Steps to Reproduce
Implement this controller (or the logic):
Expected Output
The validated data including in this case the date array.
Anything else?
I think the problem is that the validation rule ends in a double wildcard, because when i change the array and rules to this it works:
Does CI4 not like rules ending with wildcards?
The text was updated successfully, but these errors were encountered: