? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
3 Feb 2021

As webauthn plugin uses the php GMP extension it made sense to add a check for this in the system info.

There is already code that handles the error message #29731 this is just for the system info list.

Perhaps it should be added to the preinstall/preupdate checks as well as a recommendation (not required) @wilsonge @zero-24

/administrator/index.php?option=com_admin&view=sysinfo

image

avatar brianteeman brianteeman - open - 3 Feb 2021
avatar brianteeman brianteeman - change - 3 Feb 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Feb 2021
Category Administration com_admin Language & Strings
avatar Quy Quy - test_item - 3 Feb 2021 - Tested successfully
avatar Quy
Quy - comment - 3 Feb 2021

I have tested this item successfully on fdac7b8


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

avatar toivo toivo - test_item - 3 Feb 2021 - Tested successfully
avatar toivo
toivo - comment - 3 Feb 2021

I have tested this item successfully on fdac7b8

Tested successfully in Beta8-dev of 3 February using PHP 8.0.1.


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

avatar brianteeman brianteeman - change - 3 Feb 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-02-03 19:26:47
Closed_By brianteeman
Labels Added: ? ?
avatar brianteeman brianteeman - close - 3 Feb 2021
avatar brianteeman
brianteeman - comment - 3 Feb 2021

To be clear as I obviously wasnt explaining myself correctly.

If my proposal to use extension_loaded to determine if gmp is enabled in php is not suitable then dont we also have to correct all the other places where extension_loaded is used for the same thing. Otherwise all the comments about not being able to accurately determine if the extension is available using this method make all the existing tests invalid as well. Or is there something special about gmp that means it can't be tested in the same way as gd, zlib, xlib and mbstring.

Its very confusing because the php documentation says to do it this way https://www.php.net/manual/en/function.extension-loaded.php

avatar SharkyKZ
SharkyKZ - comment - 4 Feb 2021

This PR is fine for what it is.

Add a Comment

Login with GitHub to post a comment