BoiseState / interfaith-donation

Donation app and website to manage donations for Interfaith Sanctuary.
GNU General Public License v2.0
4 stars 1 forks source link

Fix Serialization for getAllNeedCallouts #197

Closed lbosse closed 6 years ago

lbosse commented 6 years ago

Currently, making a GET request to https://localhost:<port#>/donation-api/needcallouts produces an internal server error. I need to add this line: to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS to the application.properties file or add an @jsonignore annotation to the field being lazily loaded to allow Spring to lazy load the table relation columns in the CalloutNeed class at runtime.

See this stackoverflow post for more information.

lbosse commented 6 years ago

Waiting on model refactor for CalloutNeed to see if the internal server error is still produced.

lbosse commented 6 years ago

Depends on issues #198 #199

lbosse commented 6 years ago

Closed by PR #190