TechnionYearlyProject / TheDoors

Solving the Door Permissions Problem
0 stars 1 forks source link

Found a bug in reserve order when web app is online #182

Closed yrnoz closed 6 years ago

yrnoz commented 6 years ago

The web crashes when placing an order for a room (after the app is deployed)

yrnoz commented 6 years ago

fixed the bug, the problem was that in azure the room capacity is interpreted as a string, and since we tried performing a reduction from it in Room.py/available_on_time, it caused a crash, thus converting the room capacity to integer solved the problem.