? ? Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
18 Dec 2020

Summary of Changes

The current string for broken JSON in a web asset registry doesn't make much human sense. This fixes it to specifically check for broken JSON and reports on that. As a result we pass things like an empty json file to the next step where we check for the assets to exist. So I've amended the code comment to reflect that

Test Instructions

Part code review. You can also try editing one of the web asset files (e.g. templates/cassiopeia/joomla.asset.json) to contain invalid json and turn on debug mode in the symfony handler (change line 56 in libraries/bootstrap.php to $errorHandler = \Symfony\Component\ErrorHandler\ErrorHandler::register(new Symfony\Component\ErrorHandler\ErrorHandler(null, true));) and view the exception message generated

Documentation Changes Required

None

avatar wilsonge wilsonge - open - 18 Dec 2020
avatar wilsonge wilsonge - change - 18 Dec 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Dec 2020
Category Libraries
avatar richard67
richard67 - comment - 18 Dec 2020

I have tested this item successfully on f18b6e8

Code review:

avatar richard67 richard67 - test_item - 18 Dec 2020 - Tested successfully
avatar brianteeman brianteeman - test_item - 18 Dec 2020 - Tested successfully
avatar brianteeman
brianteeman - comment - 18 Dec 2020

I have tested this item successfully on f18b6e8

code review


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

avatar richard67 richard67 - change - 18 Dec 2020
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 18 Dec 2020

RTC


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

avatar richard67 richard67 - change - 18 Dec 2020
Labels Added: ? ?
avatar HLeithner HLeithner - change - 18 Dec 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-12-18 09:21:29
Closed_By HLeithner
Labels
avatar HLeithner HLeithner - close - 18 Dec 2020
avatar HLeithner HLeithner - merge - 18 Dec 2020
avatar HLeithner
HLeithner - comment - 18 Dec 2020

Thanks

Add a Comment

Login with GitHub to post a comment