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

Longitude validation appears when user try to publish after editing

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.3
    • Component/s: None
    • Labels:

      Description

      It occurs when application is displayed in language different than English.

      Steps:

      1. Create Content Type with text line (title) and map location (map)
      2. Go to Content/Content structure and click Create
      3. Select Content Type from step 1
      4. Fill title and type any location for map field and click search button
      5. Click Publish
      6. Click Edit and change something in title
      7. Click Publish

      Actual result:

      Content item is not published, because longitude validation appears. Longitude and latitude fields are empty.
      Console shows:

      The specified value "59,913330" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)?
      241:361 The specified value "10,738970" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)?
      

      Expected result:

      Content is successfully published.

      Hint: If user clicks again search button, fields with coordinates will be filled and user is able to publish now.

        Issue Links

          Activity

          Show
          Piotr Nalepa (Inactive) added a comment - PR created: https://github.com/ezsystems/ezplatform-admin-ui/pull/716
          Show
          Barbara Grajczyk added a comment - PR merged: https://github.com/ezsystems/ezplatform-admin-ui/commit/cc777a46e058cc69a9d83b41527e107245e04ad4

            People

            • Assignee:
              Unassigned
              Reporter:
              Barbara Grajczyk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: