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

Nicknames Extension Regexp Not Working as Expected #3416

Closed
kaganergovan opened this issue May 9, 2022 · 0 comments · Fixed by #3430
Closed

Nicknames Extension Regexp Not Working as Expected #3416

kaganergovan opened this issue May 9, 2022 · 0 comments · Fixed by #3430
Labels
Milestone

Comments

@kaganergovan
Copy link

kaganergovan commented May 9, 2022

Bug Report

Current Behavior
An extension called "Nicknames" doesn't work as expected. It has Regexp validation rule support but unfortunately it doesn't accept any of Regexp validation rules.

Steps to Reproduce

  1. Enabled target extension.
  2. Tried to enter lots of Regexp validation rules (even Laravel validations too).
  3. None of them worked.

Expected Behavior
It has to verify user's input as specified Regexp validation in admin area.

Screenshots
I tried to load more screenshots but unfortunately I got errors. But summary is I tried to show few Regexp examples about number validation and I can use all characters including whitespaces.

image

image

Environment

  • Flarum version: 1.2.1
  • Webserver: Apache
  • Hosting environment: VDS
  • PHP version: 8.1.3
  • Browser: Safari Version 15.4 (17613.1.17.1.13) / Chrome Version 101.0.4951.54 (Official Build) (arm64)
Flarum core 1.2.1
PHP version: 8.1.3
MySQL version: 10.3.34-MariaDB
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, readline, Reflection, SPL, session, standard, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, ldap, exif, mysqlnd, PDO, Phar, posix, shmop, SimpleXML, soap, sockets, sodium, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlwriter, xsl, mcrypt, mysqli, pdo_mysql, pdo_sqlite, xmlreader, xmlrpc, zip
+-------------------------------------+---------+--------+
| Flarum Extensions                   |         |        |
+-------------------------------------+---------+--------+
| ID                                  | Version | Commit |
+-------------------------------------+---------+--------+
| flarum-flags                        | v1.2.0  |        |
| sycho-advanced-extension-categories | v0.1.3  |        |
| flarum-suspend                      | v1.2.0  |        |
| flarum-subscriptions                | v1.2.0  |        |
| flarum-sticky                       | v1.2.0  |        |
| flarum-statistics                   | v1.2.0  |        |
| flarum-nicknames                    | v1.2.0  |        |
| flarum-mentions                     | v1.2.0  |        |
| flarum-markdown                     | v1.2.0  |        |
| flarum-lock                         | v1.2.0  |        |
| flarum-likes                        | v1.2.0  |        |
| flarum-lang-english                 | v1.2.0  |        |
| flarum-emoji                        | v1.2.0  |        |
| flarum-bbcode                       | v1.2.0  |        |
| flarum-approval                     | v1.2.0  |        |
+-------------------------------------+---------+--------+
Queue driver: sync
Mail driver: mail
Debug mode: ON
@SychO9 SychO9 added the type/bug label May 9, 2022
@SychO9 SychO9 added this to the 1.4 milestone May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants