EF2 error: Validation failed for 1 Validators

From experience, just now: This error can also occur if you removed a variable, for which a value in the configuration already exists. To reproduce, here’s what I did:

  1. add a variable
  2. commit
  3. configure some value for that variable
  4. remove it from the extension code
  5. commit again
  6. upgrade fails
  7. edit the config, clear out the value
  8. upgrade succeeds.