Bug 543 - InvalidLatitude
Summary: InvalidLatitude
Status: RESOLVED FIXED
Alias: None
Product: Group 13 Dating App System (vibing.com)
Classification: Unclassified
Component: Exception (show other bugs)
Version: 1
Hardware: PC Windows
: --- enhancement
Assignee: Varun
URL:
Depends on:
Blocks:
 
Reported: 2020-12-07 23:23 HKT by Varun
Modified: 2020-12-07 23:31 HKT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.