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

[Master] No error message when regex validation is invalid #12978

Open
condor2 opened this issue Nov 18, 2023 · 3 comments · Fixed by #12994
Open

[Master] No error message when regex validation is invalid #12978

condor2 opened this issue Nov 18, 2023 · 3 comments · Fixed by #12994
Assignees
Labels
Priority High! Priority Issue!

Comments

@condor2
Copy link
Contributor

condor2 commented Nov 18, 2023

What version of OpenCart are you reporting this for?
Master

Describe the bug
Add a new Text custom field and write some letters in Validation input (fgfgf) then click save.

No error message it shown.

Console log message error

Unknown: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in admin\controller\customer\custom_field.php on line 387

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in admin\controller\customer\custom_field.php on line 387{"error":{"validation":"error_validation"}}`

@condor2
Copy link
Contributor Author

condor2 commented Nov 24, 2023

Closed....and Admin warning message where is?

@danielkerr danielkerr reopened this Nov 24, 2023
@danielkerr
Copy link
Member

@AJenbo im getting a bit worried about some of ur commits now.

@AJenbo
Copy link
Collaborator

AJenbo commented Jan 6, 2024

#12994 (comment)

@danielkerr danielkerr self-assigned this Apr 23, 2024
@danielkerr danielkerr added the Priority High! Priority Issue! label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority High! Priority Issue!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants