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

Using mail in form <mail>@<domain> passes field validation but raises an error when publishing

    Details

      Description

      When I use an object that has an email attribute, the use of email@domain passes field validation, but raises an error when publishing the object.

      email field validation publishing action
      test@domain Pass fails
      test@domain.com pass pass
      Steps to reproduce
      • Create a content type with an email attribute
      • Create an object from previous content type
      • on the email field, use "test@domain"
      • Publish the object

      We have an error "An error occurred while publishing the draft"

      The request/response I had

      Remote Address:127.0.0.1:80
      Request URL:http://ezp5.paulo/api/ezp/v2/content/objects/153/versions/2
      Request Method:PATCH
      Status Code:400 Bad Request
      

      {"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":400,"errorMessage":"Bad Request","errorDescription":"Content fields did not validate"}}
      

        Issue Links

          Activity

          Show
          Mateusz Hyndle (Inactive) added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/387
          Show
          Mateusz Hyndle (Inactive) added a comment - Fixed in: https://github.com/ezsystems/PlatformUIBundle/commit/e5a587baf7557b4d0ea29427604a12bd62432d77
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Approved

          Show
          Paulo Nunes (Inactive) added a comment - QA Approved
          Hide
          Mateusz Hyndle (Inactive) added a comment -

          Set 2015.09.1

          Show
          Mateusz Hyndle (Inactive) added a comment - Set 2015.09.1
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Approved

          Show
          Paulo Nunes (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Nunes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h