Ticket #2294 (new defect)
Checkboxe duplication when publishing "UserDefinedForm" on "Contact form" page type.
| Reported by: | TateJohnson | Owned by: | aoneil |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | (Unknown) | Version: | 2.2.2-rc1 |
| Severity: | medium effort / impact | Keywords: | |
| Cc: | Hours: |
Description
If a user creates a "Contact form" page, any checkboxes will be duplicated when the page is published. I first encountered the issue on a 2.2.1 installation and have been able to reproduce the issue on demo.silverstripe.com.
1) Create a new "Contact form" page.
2) Add two dummy "Text" fields.
3) Add "Checkboxes" with three possible options.
4) Publish the page. View the published page in another tab (or window).
5) Create another text field and publish the page. Reload the published page in another tab (or window). The checkboxes are now duplicated. Each subsequent publish will duplicate the checkboxes from the "UserDefinedForm?".
Note: This ticket applies to "Checkboxes" not "Checkbox".
