Bug 543

Summary: InvalidLatitude
Product: Group 13 Dating App System (vibing.com) Reporter: Varun <avbalaji2-c>
Component: ExceptionAssignee: Varun <avbalaji2-c>
Status: RESOLVED FIXED    
Severity: enhancement CC: pdawieang2-c
Priority: ---    
Version: 1   
Hardware: PC   
OS: Windows   

Description Varun 2020-12-07 23:23:02 HKT
The InvalidLatitude class does not throw an exception when there is a N in the latitude. For example, '29° 52' N' should throw an exception but it doesnt.
Comment 1 Phudis Dawieang 2020-12-07 23:31:43 HKT
Thank you for the bug report!

Somehow in your case, 29 is saved as a latitude and 52 is saved as a longitude. I don't really know why this is happened, however, the number saved is wrong anyway, so I have debugged it.

The latitude and longitude are now kept in the double. Exception will invoke if the case like what you just mention happen again.

Again, thank you for the bug report :)

The status has been changed to the RESOLVED-FIXED.