[TIMOB-11192] Kitchen sink:Phone:Geolocation : Exception is thrown while logging translateErrorCode(e.code)
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-05-02T20:49:46.000+0000 |
| Affected Version/s | Release 2.1.3 |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | qe-ios090112 |
| Reporter | Shyam Bhadauria |
| Assignee | Eric Merriman |
| Created | 2012-09-27T08:46:08.000+0000 |
| Updated | 2017-05-02T20:49:46.000+0000 |
Description
This is not a regression. It exists as far as 2.0.1.
When forward geo error is displayed, no event message is displayed in alert and an exception is displayed in console for not finding variable 'e'.
*Steps to reproduce*
1. Launch KitchenSink
2. Go to "Phone"- "Geolocation"
*Expected Result*
Should get an information about your current location. If location cannot be retrieved, relevant error message should be printed to the console.
*Actual Result*
An exception is thrown for the missing value of 'e'.
*Logs*
kitchensink[0x55a5][7359] <Notice>: [WARN] Exception in event callback. {
kitchensink[0x55a5][7359] <Notice>: line = 502;
kitchensink[0x55a5][7359] <Notice>: message = "Can't find variable: e";
kitchensink[0x55a5][7359] <Notice>: name = ReferenceError;
kitchensink[0x55a5][7359] <Notice>: sourceId = 49616992;
kitchensink[0x55a5][7359] <Notice>: }
Attachments
| File | Date | Size |
|---|---|---|
| Geo exception.rtf | 2012-09-27T08:46:08.000+0000 | 1032 |
Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.