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

We cannot map editable items in Display Pages because Object.entries is not defined automatically in IE11

    Details

      Description

      Description
      We need to polyfill Object.entries to allow items to be mapped in Display Page for IE11 as well. It isn't supported naturally. Here is an example of one given by Mozilla: Polyfill Example.

      Steps to Reproduce (IE11)

      1. Create some Fragments
      2. Create a Display Page
      3. Add Fragments to Display Page
      4. Try to map your fragment

      Expected Result
      Fragment can be mapped

      Actual Result
      Mapping Fields can not be mapped because Object.entries gets called, but fails due to IE11 not supporting the function on its own (we need to define it for the browser).

      Reproduced on: Tomcat 9.0.6 + MariaDB 10.2
      Portal master GIT ID: 13d5c0e19b3cb397fe52322ac6dc0afc477eea52

        Attachments

          Activity

            People

            Assignee:
            kyle.miho Kyle Miho
            Reporter:
            kyle.miho Kyle Miho
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 23 weeks ago

                Packages

                Version Package
                7.1.X
                Master