View Issue Details

IDProjectCategoryView StatusLast Update
0007276OXID eShop (all versions)4. ------ eShop Core -------public2021-09-14 20:40
Reportermichael_keiluweit 
PrioritylowSeveritytweakReproducibilityalways
Status acknowledgedResolutionopen 
Product Version6.3.1 
Target VersionFixed in Version 
Summary0007276: Shop wants to use functions from the extension Intl, but it isn't required
DescriptionFirst things first: The shop works as intended.

The shop code uses functions of the PHP extension Intl (https://www.php.net/manual/de/book.intl.php).
But each place where the Intl functionality is used, the framework checks first if the PHP extension is installed. The check is done because the PHP extension isn't explicitly required by our system requirements: https://docs.oxid-esales.com/eshop/de/latest/installation/neu-installation/server-und-systemvoraussetzungen.html

This raises the question why the framework wants to use the Intl functions, but it's optional to install the extension.

I see a few "solutions":
- Add the Intl extension as requirement.
- Add a description why Intl should be installed (benefits?), but don't have to.
- Removing of the 'if exists' checks.
Additional InformationFor example, the method \OxidEsales\EshopCommunity\Core\Email::idnToAscii is using one of these and checks beforehand, if the function exists.
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

There are no notes attached to this issue.