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

    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.

        Issue Links

          Activity

          Hide
          Petar Spanja (Inactive) added a comment -
          Show
          Petar Spanja (Inactive) added a comment - Duplicated by https://jira.ez.no/browse/EZP-22808

            People

            • Assignee:
              Unassigned
              Reporter:
              Petar Spanja (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: