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

Geolocation field format is different from what it was in 7.3 and before

    Details

      Description

      Geolocation format has changed from 7.3. In 7.3 a json with the keys "latitude" and "longitude" was saved. In master this field is saved with two keys "lat" and "lng". 

      This is causing that all the templates created with this field are broken.

       

      Steps to reproduce:

      • Create a structure st1 with a geolocation field
      • Create a template, select the structure st1 and include the field geolocation clicking on the field list
      • Create a web content with structure st1, set a geolocation different that the one default
      • Save the web content
      • Under the default template section click on preview

      Expected result

      The geolocation selected appears

      Actual result

      Due to the change in the geolocation format, the default geolocation is displayed

        Attachments

          Activity

            People

            Assignee:
            guilherme.vilarim Guilherme Vilarim
            Reporter:
            victor.galan Victor Galan
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Eudaldo Alonso
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              24 weeks, 2 days ago

                Packages

                Version Package
                7.4.1 CE GA2 DXP 7,4
                7.4.2 CE GA3 DXP 7,4
                7.4.13 DXP GA1
                Master