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

Geolocation Custom Fields map is not displaying when viewing the resource

    Details

      Description

      When a Geolocation Custom Field is added to a resource, the map does not display anything and the following JS error is logged in the console when viewing the resource.

      Uncaught TypeError: Cannot read property 'get' of undefined
      

      Steps to reproduce

      1. Add a Geolocation Custom Field to a User
      2. Add or edit an existing User
      3. Asserts browser asks if it can know your location (click yes)
      4. Assert Map loads and is pinned to your current location

       

      Expected results

      Map displays after browser prompts to know your location

      Actual results

      Map does not display after browser prompts to know your location. JS Errors are thrown

       

      Reproduced on

      Tomcat 9.0.17 + MySQL 5.7.19. Portal master GIT ID: 8501e988911952b521d87add143eebcc81e83b19.

      Could not reproduce on

      Tomcat 9.0.6 + MySQL 5.7.10. DXP 7.1 GA1

       

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              albert.lee Albert Lee
              Participants of an Issue:
              Recent user:
              Dennis Ju
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                34 weeks, 1 day ago

                Packages

                Version Package
                Master