NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
19 Oct 2020

Pull Request for Issue # .

Summary of Changes

  • Remove the .eslintignore
  • Fix the eslint errors on the remaining WebComponents
  • Add a try/catch for any Json.parse()
  • Favour functional forEach over for loops

Testing Instructions

All fields are working as before

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Documentation Changes Required

avatar dgrammatiko dgrammatiko - open - 19 Oct 2020
avatar dgrammatiko dgrammatiko - change - 19 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Oct 2020
Category JavaScript Repository NPM Change
avatar dgrammatiko dgrammatiko - change - 19 Oct 2020
Labels Added: NPM Resource Changed ?
avatar dgrammatiko
dgrammatiko - comment - 20 Oct 2020

Hey @wilsonge if you get some free time can you check this one? Thanks

avatar wilsonge wilsonge - change - 21 Oct 2020
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-10-21 16:23:00
Closed_By wilsonge
avatar wilsonge wilsonge - close - 21 Oct 2020
avatar wilsonge wilsonge - merge - 21 Oct 2020
avatar wilsonge
wilsonge - comment - 21 Oct 2020

LGTM! Thanks!

avatar Quy
Quy - comment - 22 Oct 2020

@dgrammatiko Can you please look into this? Thanks.

To reproduce, go to Global Configuration > Users > Email Domain Options and add a row.

Uncaught TypeError: rows.forEach is not a function
    getRows http://localhost/joomla-cms-4.0-dev/media/system/js/fields/joomla-field-subform.js:150
    JoomlaFieldSubform http://localhost/joomla-cms-4.0-dev/media/system/js/fields/joomla-field-subform.js:84
    <anonymous> http://localhost/joomla-cms-4.0-dev/media/system/js/fields/joomla-field-subform.js:585
    <anonymous> http://localhost/joomla-cms-4.0-dev/media/system/js/fields/joomla-field-subform.js:586c
avatar dgrammatiko
dgrammatiko - comment - 23 Oct 2020

@Quy thanks for catching this, check #31213

Add a Comment

Login with GitHub to post a comment