When trying to deploy certain Webform nodes from a staging server to live the following occurs.

On staging (source) server

Error An illegal choice has been detected. Please contact the site administrator. An illegal choice has be

On live (destination) server log

Illegal choice in webform element.

Deploying pages works fine, as does some Webforms. Thinking it was down to illegal characters, I stripped the form elements to only contain [a-z][A-Z] chars but the error still occurred.

Comments

gdd’s picture

I have not done any testing with webform, so its not completely surprising to me that it doesn't work. Are there any differences you can find between webforms that works and ones that don't? Like specific field types or anything?

ScanSafe’s picture

Not really.

Taking two examples from testing, both have common 'textbox and 'select' elements containing exactly the same values. The webForm that does deploy has a couple of extra 'select' and 'textbox' elements.

gdd’s picture

Title: Error when deploying Webform nodes » Support webform nodes
Category: bug » feature

Turning this into a feature request

gdd’s picture

Status: Active » Postponed

I think this is outside our base user-case and our efforts are better spent elsewhere, so marking this postponed unless someone wants to take a crack at it themselves.