Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-120725

DDMDataProviderRequest misses locale object

Details

    Description

      In commerce com.liferay.commerce.product.definitions.web.internal.frontend.CommerceProductInstanceOptionsValuesDataProvider#getData method receives DDMDataProviderRequest with no _locale attribute set. Attribute is required for the Commerce code to properly localize product names shown as options in UI components.

      Method com.liferay.dynamic.data.mapping.form.evaluator.internal.function.CallFunction#apply responsible for DDMDataProviderRequest creation, does not provide locale for builder.

      As com.liferay.dynamic.data.mapping.data.provider.DDMDataProviderRequest.getLocale is not deprecated it is expected that locale is reachable via this method.

      Attachments

        Issue Links

          Activity

            People

              alex.candido Alex Candido
              corbin.murakami Corbin Murakami (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Jeyvison Nascimento Jeyvison Nascimento (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 10 weeks, 4 days ago

                Packages

                  Version Package
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  7.3.X
                  Master