Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22870

Updating Content with MapLocation field type without setting value for it will fail

    XMLWordPrintable

Details

    Description

      Updating Content with MapLocation field and not providing field value for MapLocation field will fail.

      When updating Content without providing value for a field, value for that field will be loaded from the version of the Content being updated. In case of MapLocation field type, value will be loaded from the external storage. Since coordinates returned from external storage are of string type and are not casted to float, validation of the Content will fail.

      The fix needs to correctly cast coordinate values loaded in external storage gateway.
      It is also needed to cover this case in API field type integration tests.

      Attachments

        Activity

          People

            Unassigned Unassigned
            petar.spanja-obsolete@ez.no Petar Spanja (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: