Can't save content by checkbox with similar values
-
Create new ContentType 'MyContentType'
-
Create new field 'MyCheckbox' (type Checkbox)
-
Edit field 'MyCheckbox'. Set value
- canada|Canada
- canada-new|Canada New
-
Create new contentlet of type 'MyContentType'
-
Edit new contentlet. Check both checkboxes. Save. Result: both checkboxes are 'checked'. OK
-
Edit new contentlet. Check off both checkboxes. Save. Result: both checkboxes are still 'checked'!
Reproduced on http://demo.dotcms.com/
Tested on the last 3.2 and not able to reproduce...
Closing this one as it is not reproducible in latest release.
Sorry, here is correct description:
- Create new ContentType 'MyContentType'
- Create new field 'MyCheckbox' (type Checkbox)
- Edit field 'MyCheckbox'. Set value Canada|canada Canada New|canada-new
- Create new contentlet of type 'MyContentType'
- Edit new contentlet. Check only 'Canada New'. Save. Result: both checkboxes are 'checked'!
Reproduced today on http://demo.dotcms.com/ Screencast: http://screencast.com/t/h7VLq7L1e
@rogelio-blanco could you please try to reproduce and fix it? Thanks!
I was able to reproduce it. I will continue with the fix
pull request #7728
Tested on: 3.2 Nightly build 2015-05-14 04:13 // Ubuntu 14.04 // Postgres // Firefox
Added TC http://qa.dotcms.com/index.php?/cases/view/59161