Closed
Description
When you create a new contact, if there is a leading or trailing space with no characters after, those are not being trimmed.
Names should be saved with no trailing/leading spaces as this breaks many search tools.
Preconditions
- Magento 2.1.3
- php 7
- MySQL (hosted, not sure of the version)
Steps to reproduce
- Create a new customer from the Customers > All Customers > Create New Customer window
- Create First name: "John " Last name: " Doe ", add a fake email address.
- Click save
- Search and edit the contact "John Doe "
- Take note that the spaces are saved in the users first and last names.
Expected result
- First, Middle and Last names should have and leading and trailing spaces removed on save.
Actual result
- Leading/Trailing spaces are left in the names of the customer.
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.2 release lineThe issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for development