core
core copied to clipboard
In a multi-select field, a comma is added at the end of the field when it is saved
For contents with multi-select fields, when one or more values are selected, a comma is added at the end when the field is saved.
Reported by a client: https://my.dotcms.com/tickets/detail.dot?id=594b6098-51a8-45e8-bc11-af273cb66575
Steps to Reproduce (for bugs)
- Create a content type with a multi-select field
- Add a new content for the content type
- Verify the value saved for the field in ES Search
Note: A screencast was included
Your Environment
- dotCMS version used: dotCMS 4.1.1
- Browser Name and version: Google Chrome

PR: https://github.com/dotCMS/core/pull/12706 PR release-4.2: https://github.com/dotCMS/core/pull/12715
Passed QA.
Verified that comma is not added at the end of the field when it is saved

Tested locally on master branch / commit 0c7239bd6995aebdc178608665083a2875fbeda4 Ubuntu 14.04.1 / Postgres 9.3.7 / Chrome v54.0.2840.98 / Tomcat 8 / Java 8