tonyfujs/ddhqa

check_recom_fields(): look into "field_wbddh_data_dates"

Closed this issue · 0 comments

Data Collection Dates is a required Microdata field. The ddh form maps the "Data Collection Dates" form field to the field_wbddh_data_dates machine name on the add data form. Including this field as a recommended field leads to a lot of fails.

  • data collection collection_date is mapped to startDate and endDate in mdlibtoddh
  • startDate and endDate in mdlibtoddh's lookup are associated with field_wbddh_start_date and field_wbddh_end_date respectively
  • field_wbddh_start_date and field_wbddh_end_date are not populated for some Microdata datasets (ex: 113249, 114196, 108513)

It might make sense to include field_wbddh_start_date and field_wbddh_end_date as recommended fields instead.