Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7786] Android: Typos in Ti.Codec exception messages

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2019-10-08T13:55:47.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 8.3.0
ComponentsAndroid
Labelsandroid, exception, typo
ReporterChris Barber
AssigneeJoshua Quick
Created2012-02-22T20:35:03.000+0000
Updated2019-10-08T13:55:47.000+0000

Description

In decodeNumber(), the exception code has mistakenly said "encodeNumber" instead of "decodeNumber". Also, the "source" parameter is referred to as "src" instead of "source".

Comments

  1. Michael Gangolf 2019-09-30

    PR: https://github.com/appcelerator/titanium_mobile/pull/11252
  2. Sohail Saddique 2019-10-07

    *FR: Passed* ||Test Environment || |Studio Ver: 5.1.4.201909061933 SDK Ver: 8.3.0 (PR: 11252) OS Ver: 10.14.6 Appc CLI: 7.1.1 Ti CLI Ver: 5.2.1 Node Ver: 10.16.3 NPM Ver: 6.11.3 Emulator: ⇨ Android 9 (Pixel 3 API 28)| *Output*
       /app.js:8
       var decodedValue = Ti.Codec.decodeNumber({
       
       Error: source was not specified for decodeNumber
       
  3. Sohail Saddique 2019-10-08

    Solution verified. Ticket closed.

JSON Source