18F / culper

Culper is the foundation for eApp, a part of the National Background Investigation System (NBIS), supporting the SF-86, SF-85, and SF-85P. This is its source code and developer documentation. For background information and a demo video see https://github.com/18F/culper/wiki
Other
27 stars 22 forks source link

XML generation error in investigation history #1011

Closed ryanhofdotgov closed 5 years ago

ryanhofdotgov commented 5 years ago

Error: "template: application.xml:45:14: executing \"application.xml\" at <tmpl \"legal.xml\" .>: error calling tmpl: template: legal.xml:5:2: executing \"legal.xml\" at <tmpl \"legal-investig...>: error calling tmpl: template: legal-investigations.xml:4:4: executing \"legal-investigations.xml\" at <tmpl \"legal-investig...>: error calling tmpl: template: legal-investigations-investigated.xml:12:10: executing \"legal-investigations-investigated.xml\" at <monthYear $Item.Gran...>: error calling monthYear: template: date-month-year.xml:1:25: executing \"date-month-year.xml\" at <.props.month>: invalid value; expected string"

Section: 9 Investigative and criminal history -> Investigations and clearance record -> Ever been investigated

ryanhofdotgov commented 5 years ago

The above error was generated during NBIS testing, but they could not provide the test data or any other details, other than the error had occurred while filling out the indicated section.

Review the template code and form section and attempt to determine cause by inspection/experimentation. Cap level of effort to a few hours.

ryanhofdotgov commented 5 years ago

Downgrading since we haven't seen this duplicated so far