? ? Pending
Pull Request for # 20789

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
8 May 2020

Pull Request for Issue #20789.

Summary of Changes

Declares variable using var to limit its scope and prevent overwriting function.

Testing Instructions

Add pattern attribute to some form field.

E.g. pattern="[A-Za-z\s0-9]+" to name field in components\com_users\models\forms\registration.xml,
Try to register with name containing invalid characters.

Expected result

Form not submitted with error:

Invalid field: Name

Actual result

Browser's validation tooltip is shown and we get JS error:

TypeError: isValid is not a function

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 8 May 2020
avatar SharkyKZ SharkyKZ - change - 8 May 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 May 2020
Category JavaScript
avatar SharkyKZ SharkyKZ - change - 8 May 2020
Rel_Number 20789
Relation Type Pull Request for
Labels Added: ?
avatar Quy Quy - test_item - 10 May 2020 - Tested successfully
avatar Quy
Quy - comment - 10 May 2020

I have tested this item successfully on 7eca2d6


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28996.

avatar bonzani bonzani - test_item - 24 May 2020 - Tested successfully
avatar bonzani
bonzani - comment - 24 May 2020

I have tested this item successfully on 7eca2d6


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28996.

avatar alikon alikon - change - 24 May 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 24 May 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28996.

avatar HLeithner HLeithner - change - 26 May 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-05-26 12:37:21
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 26 May 2020
avatar HLeithner HLeithner - merge - 26 May 2020
avatar HLeithner
HLeithner - comment - 26 May 2020

Thanks

Add a Comment

Login with GitHub to post a comment