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

DDM Geolocation field does not render or ask for location

    Details

      Description

      Steps to Reproduce:

      1. Go to Web Content > Structures (Could also do similar steps in DDL > Data Definitions)
      2. Add a new structure
      3. Add a Geolocation field
      4. Save structure
      5. Add a template to the structure
      6. Go to main Web Content tab
      7. Add a new Web Content article with the created structure
      8. View Geolocation field

      Expected Result:
      Geolocation field asks browser for Location and renders once the browser gives permissions.

      Actual Result:
      Geolocation field does not appear to ask browser for location, does not render a map and throws errors:

      OpenMaps configured (default)

      Error: The following problems where detected while resolving modules:
      Missing version constraints for map-common in package.json of map-openstreetmap@3.0.0/js/MapBase.es
      Missing version constraints for map-common in package.json of map-openstreetmap@3.0.0/js/GeoJSONBase.es
      Missing version constraints for map-common in package.json of map-openstreetmap@3.0.0/js/MarkerBase.es
      

      GoogleMaps configured

      Error: The following problems where detected while resolving modules:
      Missing version constraints for map-common in package.json of map-google-maps@2.0.0/js/MapBase.es
      Missing version constraints for map-common in package.json of map-google-maps@2.0.0/js/GeoJSONBase.es
      Missing version constraints for map-common in package.json of map-google-maps@2.0.0/js/MarkerBase.es
      Missing version constraints for map-common in package.json of map-google-maps@2.0.0/js/validators.es
      

      Reproduced on:
      Master: 7405cb6b216d9b67f7d0f6e99b8f70b3b1812148

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 12 weeks, 3 days ago

                  Packages

                  Version Package
                  Master