johnding1996 / HKUST-COMP3111H-Group

Group Project of COMP 3111H in Fall 2017 at HKUST
Apache License 2.0
0 stars 0 forks source link

MenuParser should not give foods with empty content list to FoodRecommender #105

Closed thomaszhouan closed 6 years ago

thomaszhouan commented 6 years ago

When searching database with a dish name returns empty result, the consequence logic fails (e.g. FoodRecommender)

johnding1996 commented 6 years ago

This should not be a bug of FoodRecommender, the earlier pipes should validate the menu json and not pass food with empty ingredients to FoodRecommender. Other wise, how can food recommender handle this?

johnding1996 commented 6 years ago

Wait for testing.

thomaszhouan commented 6 years ago

Fixed and closed.