[FAST-30] Default value of a mandatory field is ignored at encoding step Created: 17/Sep/10 Updated: 17/Sep/10 |
|
Status: | Open |
Project: | OpenFAST |
Component/s: | Message Object Model |
Affects Version/s: | 1.0.0 |
Fix Version/s: | None |
Type: | Bug | Priority: | Default |
Reporter: | Clin Fabrice | Assignee: | Jacob Northey |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None |
Description |
default value + mandatory attribute is a strange combination but it used in some known templates (i.e. euronext) Here is a proposal: class: org.openfast.template.Group FieldValue fieldValue = groupValue.getValue(fieldIndex); //************************************************************************************************************************* if (!field.isOptional() && fieldValue == null) |