City-of-Bloomington / drupal-module-onboard

Drupal module for integration with OnBoard
GNU General Public License v2.0
0 stars 1 forks source link

Must check for nodes without a committee_id #31

Closed inghamn closed 6 years ago

inghamn commented 6 years ago

Not all board pages we've created in Drupal have a committee_id in OnBoard. The onboard module does not account for that. We need to check for a committee_id value before attempting to do stuff.

Uncaught PHP Exception GuzzleHttp\Exception\ClientException: "Client error: GET https://bloomington.in.gov/onboard/committees/members?format=json;committee_id= resulted in a 404 Not Found response"

inghamn commented 6 years ago

This is written correctly in the onboard module. The override in the theme is where we forgot to check for the presence of a committee_id.