Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11192] Kitchen sink:Phone:Geolocation : Exception is thrown while logging translateErrorCode(e.code)

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-05-02T20:49:46.000+0000
Affected Version/sRelease 2.1.3
Fix Version/sn/a
Componentsn/a
Labelsqe-ios090112
ReporterShyam Bhadauria
AssigneeEric Merriman
Created2012-09-27T08:46:08.000+0000
Updated2017-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

FileDateSize
Geo exception.rtf2012-09-27T08:46:08.000+00001032

Comments

  1. Lee Morris 2017-05-02

    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.

JSON Source