Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
None
-
Ibexa Commerce, Ibexa Content, Ibexa Experience
-
Yes
Description
\Ibexa\AdminUi\EventListener\InContextTranslationListener::setInContextTranslation() calls \Ibexa\User\UserSetting\UserSettingService::getUserSetting().
\Ibexa\User\UserSetting\UserSettingService::getUserSetting() creates a whole UserSetting object, from which only the value is used.
Thus, the name of the settings is not used, which, however, in our profiles takes up almost the entire time of this method (see screenshots).
Thus it appears useful to have a similar public method to \Ibexa\User\UserSetting\UserSettingService::getUserSettingValue() that only provides the value and skips the name part.