Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7913] Android: Android.Calendar.Calendar.id - string should be integer

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T21:26:27.000+0000
Affected Version/sRelease 1.8.2
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterPaul Dowsett
AssigneeEric Merriman
Created2012-03-07T12:14:15.000+0000
Updated2017-06-07T21:26:27.000+0000

Description

Problem

The [getCalendarById](https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/calendar/src/java/ti/modules/titanium/android/calendar/CalendarModule.java#L72) method accepts an id as an integer, whereas the id seems to be defined as a string for the [getId](https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/calendar/src/java/ti/modules/titanium/android/calendar/CalendarProxy.java#L172) method and [CalendarProxy properties](https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/calendar/src/java/ti/modules/titanium/android/calendar/CalendarProxy.java#L25). My tests seem to show that the id returned by Android is an integer.

Comments

  1. Lee Morris 2017-06-07

    Closing ticket due to lack of activity and time passed.

JSON Source