-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
bugVerified issues on the current code behavior or pull requests that will fix themVerified issues on the current code behavior or pull requests that will fix themgood first issueGood for newcomersGood for newcomers
Description
PHP Version
8.1
CodeIgniter4 Version
4.2.6
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
macOS, Linux
Which server did you use?
fpm-fcgi
Database
MySQL 8
What happened?
The valid_json language string is missing in /system/Language/en/Validation.php. I can certainly fix this by providing my own string, but given this is a stock validation rule, it probably aught to exist.
Steps to Reproduce
create a validation rule containing valid_json, and pass invalid json.
Expected Output
I would expect to see something like:
The content field must be valid json.
Instead i get:
Validation.valid_json
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugVerified issues on the current code behavior or pull requests that will fix themVerified issues on the current code behavior or pull requests that will fix themgood first issueGood for newcomersGood for newcomers