{ "id": "138453", "key": "TIMOB-17890", "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": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-11-04T22:16:15.000+0000", "created": "2014-10-23T18:44:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_media", "qe-3.4.1", "qe-manualtest", "qe-testadded", "regression" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" } ], "issuelinks": [ { "id": "42493", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "115705", "key": "TIMOB-14243", "fields": { "summary": "Android: Ti.Contacts not reflecting complete information from system contacts", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-11-24T19:38:22.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": "h6. This regression is seen from 3.4.0.GA and above. It works as expected in 3.3.0.GA.\r\n\r\nh5.Description:\r\n1. Create a default classic app & replace the app/js with the following code:\r\n{code}\r\nvar photo = Ti.UI.createImageView({\r\n image: 'KS_nav_views.png'\r\n}).toBlob();\r\n \r\nvar person = Ti.Contacts.createPerson({\r\n firstName: 'Aaron',\r\n lastName: 'Smith',\r\n date: {\r\n anniversary: ['2002-11-11T11:23:30.000+0000'],\r\n other: ['2011-04-02T12:00:00.000+0000']\r\n }\r\n}); \r\n \r\n \r\nperson.organization = \"google\";\r\nperson.phone = {\r\n mobile: ['9999999991', '1234556677'],\r\n work: ['9999998888', '1234567789']\r\n };\r\nperson.address = {\r\n work:[\r\n {\r\n Street: '900 West Drive',\r\n City: 'New York',\r\n County: 'Berkshire',\r\n Country: 'U.S.A',\r\n ZIP: '99999'\r\n },\r\n {\r\n Street: '456 New Ave.',\r\n City: 'San Jose',\r\n State: 'California',\r\n Country: 'U.S.A',\r\n ZIP: '94082'\r\n }\r\n ],\r\n home:[\r\n {\r\n Street: '2 East Drive',\r\n City: 'Las Vegas',\r\n State: 'Nevada',\r\n Country: 'U.S.A',\r\n ZIP: '55555'\r\n }\r\n ]};\r\nperson.instantMessage = {\r\n home:[\r\n {\r\n service: 'AIM',\r\n username: 'Dominator'\r\n },\r\n {\r\n service: 'MSN',\r\n username: 'dominator@msn.com'\r\n }\r\n ],\r\n work:[\r\n {\r\n service: 'Facebook',\r\n username: 'Dominator2'\r\n }\r\n ]\r\n};\r\nperson.url = {\r\n homepage: ['www.myspace.com'],\r\n work: ['www.apple.com', 'www.yahoo.com']\r\n};\r\nperson.email = {\r\n home: ['hieu@google.com'],\r\n work: ['pham@google.com', 'hp007@appcelerator.com']\r\n};\r\nperson.relatedNames = {\r\n parent: ['daddy', 'mommy'],\r\n assistant: ['mayhem']\r\n};\r\nperson.date = {\r\n anniversary: ['2022-11-11T11:23:30.000+0000'],\r\n other: ['2003-04-02T12:00:00.000+0000']\r\n};\r\nperson.firstName = \"Ade\";\r\nperson.lastName = \"Crude\";\r\nperson.birthday = \"1999-01-01T12:00:00.000+0000\";\r\nperson.organization = \"GOOGLE\";\r\nperson.note = \"NOTE: MASS EFFECT\";\r\nperson.nickname = \"NICKNAME: THOR\";\r\nperson.image = photo;\r\nTi.Contacts.save([person]);\r\n{code}\r\n2. Build & run the app on android device.\r\n3. Open contacts on the device & check if you have a new contact \r\nAde Crude\" added.\r\n\r\nh5.Actual Result:\r\n1.A new contact \"Ade Crude\" is not added to the contacts list on the device.\r\n\r\nh5.Expected Result:\r\n1.A new contact \"Ade Crude\" is added to the contact list on the device", "attachment": [], "flagged": false, "summary": "Android: Creating & saving contact does not add the contact to the phone's contact list", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 3.4.1.201410191611\r\nTi SDK : 3.4.1.v20141022101712, 3.4.0.GA\r\nMac OSX : 10.9.4\r\nAlloy : 1.5.1\r\nCLI - 3.4.0\r\nCode Processor: 1.1.1\r\nNexus 5 - android 5.0 preview\r\nSamsung Galaxy S4 -android 4.4.2", "closedSprints": [ { "id": 241, "state": "closed", "name": "2014 Sprint 22 SDK", "startDate": "2014-10-27T22:25:43.407Z", "endDate": "2014-11-08T01:00:00.000Z", "completeDate": "2014-11-10T20:10:00.899Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "329202", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To confirm, this works on Android 5.0 with 3.3.0.GA, and fails on Android 5.0 with 3.4.0.GA? Is there a reason this is not labelled a regression?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-23T18:51:19.000+0000", "updated": "2014-10-23T18:51:19.000+0000" }, { "id": "329232", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is not limited to android 5.0. It's also seen on an android 4.4.2 device.\r\nYes, this is a regression which got introduced in 3.4.0.GA as 3.3.0.GA does not have this issue.\r\n ", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-23T20:05:47.000+0000", "updated": "2014-10-23T20:05:47.000+0000" }, { "id": "330082", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Forgot to assign the bug to me but I was looking into this.\r\nHere is the PR\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6290", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-10-30T16:07:09.000+0000", "updated": "2014-10-30T16:07:09.000+0000" }, { "id": "330249", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/6290", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-11-02T13:44:26.000+0000", "updated": "2014-11-02T13:44:26.000+0000" }, { "id": "330874", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3_4_X PR: https://github.com/appcelerator/titanium_mobile/pull/6314", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-05T19:36:25.000+0000", "updated": "2014-11-05T19:36:25.000+0000" }, { "id": "333446", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nThe contact is successfully created on the device.\\\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410281743\r\nTi SDK : 3.5.0.v20141124092514, 3.4.2.v20141117130125\r\nCLI : 3.4.1\r\nAlloy : 1.5.1 GA\r\nCode Processor : 1.1.1\r\nMAC Yosemite : 10.10\r\nNexus 5 - Android 5.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-24T19:38:09.000+0000", "updated": "2014-11-24T19:38:09.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }