cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EF2 error: Validation failed for 1 Validators

AntonioSousa
DynaMight Guru
DynaMight Guru

When updating an EF2 extension monitoring configuration, the following error appears

AntonioSousa_0-1726253666849.png

when the new extension version has different configuration properties in an endpoint.

This didn't happen in EF1.

It would probably be a good decision if applied only to mandatory properties,  because for those where nullable=="true", they could have initially a null value.

This will have some implications in extensions upgrade, as there seems to be no way to update unless a completely new monitoring configuration is made...

Is this something that an extension can control in some way?

Antonio Sousa
2 REPLIES 2

Mike_L
Dynatrace Guru
Dynatrace Guru

It depends on what changed between the different versions. If the only change was the addition of some nullable=true fields, that error should not show up. If it was any other change, such as the removal of a field or the addition of an array around the configuration and such, you’d indeed have to recreate the monitoring configurations. 

Mike

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.

 

Featured Posts