Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-8005

Add "value-only" alternative to UserSettingService::getUserSetting()

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium 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.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              thorsten.reiter@ibexa.co Thorsten Reiter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: