User tests: Successful: Unsuccessful:
Pull Request for Issue #17931.
Use right property.
Uninstall an extension on Joomla 4
The script file is executed and the function 'uninstall' is called inside the class com_xxxxInstallerScript, when the function 'uninstall' is called it's still possible to use JText::_('...'); loading language files included under the component folder such as:
Joomla40/administrator/components/com_xxx/language/en-GB/en-GB.com_xxx.ini
Files are already deleted at this stage compared to the current Joomla 3 and Joomla 2.5
Thus the JText won't translate strings anymore because it's no more possible to load language files already deleted. It works only if the component was using language files under:
Joomla40/administrator/language/en-GB/en-GB.com_xxx.ini
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-04-01 18:21:28 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Thanks!
Looks fine on review. As I have no component to test, please @joeforjoomla test the patch.