X2Engine / X2CRM

X2CRM Open Source CRM - PHP
http://www.x2crm.com
342 stars 168 forks source link

[bug] Trim() not happening for fields #147

Open that0n3guy opened 6 years ago

that0n3guy commented 6 years ago

This has been a problem forever, I'm not sure if its fixed in the latest.

Our first name and last name (and probably other fields) don't get trimmed of spaces when put in the field. This could be an API thing, an inline edit thing or full edit thing, not sure. This causes nameId to be dumb in a lot of situations.

that0n3guy commented 6 years ago

Ok confirmed.... You can put a space at the beginning or end of firstname and lastname fields with inline editing and it will save it that way to the db.

pczupil commented 4 years ago

Thank you for the feedback. We will add trimming on fields in our next release which should be available before the end of the year. I will leave this issue open until we get confirmation that the issue is resolved.