{ "id": "92377", "key": "TIMOB-10415", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15400", "description": "2013 Sprint 08 API", "name": "2013 Sprint 08 API", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-15T20:49:16.000+0000", "created": "2012-05-24T21:41:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "module_AndroidProperties", "qe-testadded" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-03-05T02:07:31.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "calendar.createEvent does not create 'location' property - it is ignored.\r\n\r\n// Create the event\r\nvar eventBegins = new Date(2010, 11, 26, 12, 0, 0);\r\nvar eventEnds = new Date(2010, 11, 26, 14, 0, 0);\r\nvar details = {\r\n title: 'Do some stuff',\r\n description: \"I'm going to do some stuff at this time.\",\r\n location : \"At this Place\",\r\n begin: eventBegins,\r\n end: eventEnds\r\n};\r\n \r\nvar event = calendar.createEvent(details);\r\n\r\nTi.API.info (event.getLocation()); -- prints null\r\n\r\nSee http://developer.appcelerator.com/question/131770/location-property-ignored-in-tiandroidcalendarcreateevent#comment-127907\r\n\r\nBug is in android / calendar / EventProxy.java ", "attachment": [], "flagged": false, "summary": "Android: Location property not set for Ti.Android.Calendar.Event by createEvent method", "creator": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "1.7 to 2.01 SDKs, Android", "comment": { "comments": [ { "id": "243121", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\nDevice: Samsung galaxy s duos Android version: 4.0.4\n\njithinpv", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-20T07:11:38.000+0000", "updated": "2013-03-20T07:11:38.000+0000" }, { "id": "246951", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case:\n{code}\nvar CALENDAR_TO_USE = 3;\nvar calendar = Ti.Android.Calendar.getCalendarById(CALENDAR_TO_USE);\n\n// Create the event\nvar eventBegins = new Date(2010, 11, 26, 12, 0, 0);\nvar eventEnds = new Date(2010, 11, 26, 14, 0, 0);\nvar details = {\n title: 'Do some stuff',\n description: \"I'm going to do some stuff at this time.\",\n location : \"At this Place\", \n begin: eventBegins,\n end: eventEnds\n};\n\nvar event = calendar.createEvent(details);\nTi.API.info (\"location: \" + event.getLocation());\n{code}", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-10T21:26:33.000+0000", "updated": "2013-04-10T21:26:33.000+0000" }, { "id": "246952", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4141", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-10T21:28:02.000+0000", "updated": "2013-04-10T21:28:02.000+0000" }, { "id": "255215", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Using test code, i verified fi with:\nAppcelerator Studio, build: 3.1.1.201305312408\nSDK, build:3.1.1.v20130530204550\n\nDevice: NExus 7 Android version: 4.2\n\n\nActual result:\n{code}\n05-31 14:22:00.209: I/TiAPI(4636): location: At this Place\n{code}\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-31T18:28:55.000+0000", "updated": "2013-05-31T18:28:55.000+0000" }, { "id": "278889", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil test case added.\nhttps://github.com/appcelerator/titanium_mobile/pull/4944", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-11T07:17:34.000+0000", "updated": "2013-11-11T07:17:34.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }