|
#1
|
|||
|
|||
|
During startup as our data sources are being loaded I see this warning logged to the Eclipse console.
Code:
=== 2011-01-21 08:26:45,038 [l0-2] DEBUG ValidationContext - Adding validation errors at path '/DataSource[@ID=IPCLASS]/fields/field[@name=CSRK]/validators/validator/max': {errorMessage=Must be a whole number.}
=== 2011-01-21 08:26:45,040 [l0-2] DEBUG ValidationContext - Adding validation errors at path '/DataSource[@ID=IPCLASS]/fields/field[@name=CSRK]/validators/validator/min': {errorMessage=Must be a whole number.}
=== 2011-01-21 08:26:45,042 [l0-2] DEBUG ValidationContext - Adding validation errors at path '/DataSource[@ID=IPCLASS]/fields/field[@name=CMKP]/validators/validator/max': {errorMessage=Must be a whole number.}
=== 2011-01-21 08:26:45,044 [l0-2] DEBUG ValidationContext - Adding validation errors at path '/DataSource[@ID=IPCLASS]/fields/field[@name=CMKP]/validators/validator/min': {errorMessage=Must be a whole number.}
=== 2011-01-21 08:26:45,044 [l0-2] WARN Validation - Validation errors validating a 'DataSource':
{
"/DataSource[@ID=IPCLASS]/fields/field[@name=CMKP]/validators/validator":{
recordPath:"/DataSource[@ID=IPCLASS]/fields/field[@name=CMKP]/validators/validator",
max:{
errorMessage:"Must be a whole number."
},
min:{
errorMessage:"Must be a whole number."
}
},
"/DataSource[@ID=IPCLASS]/fields/field[@name=CSRK]/validators/validator":{
recordPath:"/DataSource[@ID=IPCLASS]/fields/field[@name=CSRK]/validators/validator",
max:{
errorMessage:"Must be a whole number."
},
min:{
errorMessage:"Must be a whole number."
}
}
}
Any ideas what would cause this? Here is the ds.xml definition of the two data source fields in question. Code:
<field name="CSRK" title="Shrinkage Factor" type="float" detail="true"> <validators> <validator type="floatRange" min="0.000" max="0.999" errorMessage="Please enter a positive number between zero and .999." /> <validator type="floatPrecision" precision="3" errorMessage="The maximum number of decimal places is 3" /> </validators> </field> <field name="CMKP" title="Desired Markup" type="float" detail="true"> <validators> <validator type="floatRange" min="0.000" max="0.999" errorMessage="Please enter a positive number between zero and .999" /> <validator type="floatPrecision" precision="3" errorMessage="The maximum number of decimal places is 3" /> </validators> </field> |