bloom-housing / bloom

component-based web framework for affordable housing management
Apache License 2.0
33 stars 24 forks source link

Application export fails with null programs #4357

Open emilyjablonski opened 2 hours ago

emilyjablonski commented 2 hours ago

/app/dist/src/services/application-csv-export.service.js:190 const program = programs.find((preference) => preference.key === curr);

We expected programs to always be at minimum the empty array [] if programs is coming across as null it causes breakages we didn't account for, the fix here will be to change this so that if programs is null we skip over this work so we no longer error

emilyjablonski commented 2 hours ago

@YazeedLoonat Do you wanna add some more details here?

YazeedLoonat commented 1 hour ago

added!