User tests: Successful: Unsuccessful:
Avoid fatal PHP error on malformed manifest.
Pull Request for Issue # .
Avoid exception when presented with a malformed manifest.
Install a package without any extensions.
Get fatal PHP exception.
count(): Argument #1 ($value) must be of type Countable|array, null given
Get message:
JLIB_INSTALLER_ABORT_PACK_INSTALL_NO_FILES
Please select:
Documentation link for docs.joomla.org:
[x ] No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
[ x] No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Without the change this throws a system error.
Look at errors in browser console for more detail.
With the change get an unhelpful JSON error.
This is another Joomla issue I am not attempting to resolve here - less confusing if solution part of another pull request.
Refresh the screen and get the proper error message should have received instead of the JSON error.
I have tested this item ✅ successfully on c9428c9
Installed the empty package and got a proper error message and a normal one (DPCalendar), which still worked.
Title |
|
Labels |
Added:
PR-5.0-dev
|
Following on from my comment about the JSON error I've had a look at that.
Turns out its in the same area as my changes for this PR (and not in Javascript) so I've added the fix for that here.
I have tested this item ✅ successfully on 9638a7e
Tested again a valid and empty package, now no JS errors anymore.
I have tested this item ✅ successfully on 9638a7e
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
Updates Requested
bug
|
Labels |
Added:
RTC
Removed: Updates Requested |
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-12-16 06:40:17 |
Closed_By | ⇒ | bembelimen |
Thx
Do you have actually a package to test this?