core icon indicating copy to clipboard operation
core copied to clipboard

In a multi-select field, a comma is added at the end of the field when it is saved

Open nollymar opened this issue 9 years ago • 2 comments

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)

  1. Create a content type with a multi-select field
  2. Add a new content for the content type
  3. 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

edit-multiselect-field

nollymar avatar Sep 29 '17 01:09 nollymar

PR: https://github.com/dotCMS/core/pull/12706 PR release-4.2: https://github.com/dotCMS/core/pull/12715

nollymar avatar Sep 29 '17 01:09 nollymar

Passed QA. Verified that comma is not added at the end of the field when it is saved image

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

shaydotcms avatar Oct 03 '17 03:10 shaydotcms