{ "id": "115705", "key": "TIMOB-14243", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-07-29T21:51:19.000+0000", "created": "2013-06-08T01:30:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_android", "qe-closed-3.4.0", "qe-manualtest", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "42493", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "138453", "key": "TIMOB-17890", "fields": { "summary": "Android: Creating & saving contact does not add the contact to the phone's contact list", "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": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-10-29T21:58:38.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": "Hi, \r\n\r\nto reproduce the bug, first create a contact and add \"organization\", \"url (www)\" and some name etc.\r\n\r\nImportant ist the organization and url\r\n\r\nrun this code in an app.js\r\n\r\n{code:js} \r\n// open a single window\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\nvar label = Ti.UI.createLabel();\r\nwin.add(label);\r\nwin.open();\r\n\r\nalert(\"running\");\r\n\r\nvar singleValue = [\r\n 'recordId', 'firstName', 'middleName', 'lastName', 'fullName', 'prefix', 'suffix', \r\n 'nickname', 'firstPhonetic', 'middlePhonetic', 'lastPhonetic', 'organization', \r\n 'jobTitle', 'department', 'note', 'birthday', 'created', 'modified', 'kind'\r\n];\r\nvar multiValue = [\r\n 'email', 'address', 'phone', 'instantMessage', 'relatedNames', 'date', 'url'\r\n];\r\nvar people = Ti.Contacts.getAllPeople();\r\nTi.API.info('Total contacts: ' + people.length);\r\nfor (var i=0, ilen=people.length; i3.2.0.v20130522185622\r\n\r\nBut the same result on earlier builds\r\n", "attachment": [ { "id": "39805", "filename": "Bildschirmfoto 2013-06-13 um 15.13.28.png", "author": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-06-13T13:28:12.000+0000", "size": 29786, "mimeType": "image/png" }, { "id": "39807", "filename": "Bildschirmfoto 2013-06-13 um 15.21.31.png", "author": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-06-13T13:28:12.000+0000", "size": 24149, "mimeType": "image/png" }, { "id": "39806", "filename": "Bildschirmfoto 2013-06-13 um 15.23.08.png", "author": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-06-13T13:28:12.000+0000", "size": 29965, "mimeType": "image/png" }, { "id": "50586", "filename": "Log_timob14243.txt", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T08:47:29.000+0000", "size": 1638, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Ti.Contacts not reflecting complete information from system contacts", "creator": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 50, "state": "closed", "name": "2014 Sprint 09 Tooling", "startDate": "2014-04-28T15:43:24.381Z", "endDate": "2014-05-10T03:44:00.000Z", "completeDate": "2014-05-12T13:36:16.254Z", "originBoardId": 113 }, { "id": 105, "state": "closed", "name": "2014 Sprint 11 SDK", "startDate": "2014-05-27T21:43:32.338Z", "endDate": "2014-06-07T00:00:00.000Z", "completeDate": "2014-06-09T21:36:37.587Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "257528", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Alexander,\n\nThanks for bringing this to our attention. I have successfully reproduced the issue you are seeing. For testing purposes though can you please provide all the values for the contact entries that you have posted in the contact so that we can more clearly see what parts are working vs what is not. For example, if you enter a first and last name I noticed that the full name will show (the first and last name together) but the individual values (firstName & lastName) do not show. For completeness sake, including the values that should be there but aren't would be helpful to determine exactly what needs fixing. Thanks again for your help with this.\n\nRegards,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-12T23:57:42.000+0000", "updated": "2013-06-12T23:57:42.000+0000" }, { "id": "257603", "author": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "body": "Here is my new Test:\n\nSome data like birthday I coundn't set, but it migth be possible on other android systems\n\n\n[INFO][TiAPI ( 1544)] Total contacts: 1\n[INFO][TiAPI ( 1544)] ---------------------\n[INFO][TiAPI ( 1544)] recordId: undefined\n[INFO][TiAPI ( 1544)] firstName: {color:red} undefined{color}\n[INFO][TiAPI ( 1544)] middleName:{color:red} undefined{color}\n[INFO][TiAPI ( 1544)] lastName: {color:red} undefined{color}\n[INFO][TiAPI ( 1544)] fullName: Pre Alexander Mi Tester, Su\n[INFO][TiAPI ( 1544)] prefix: {color:red} undefined{color}\n[INFO][TiAPI ( 1544)] suffix: {color:red} undefined{color}\n[INFO][TiAPI ( 1544)] nickname: undefined\n[INFO][TiAPI ( 1544)] firstPhonetic: undefined\n[INFO][TiAPI ( 1544)] middlePhonetic: undefined\n[INFO][TiAPI ( 1544)] lastPhonetic: undefined\n[INFO][TiAPI ( 1544)] organization: {color:red} undefined{color}\n[INFO][TiAPI ( 1544)] jobTitle: {color:red} undefined{color}\n[INFO][TiAPI ( 1544)] department: undefined\n[INFO][TiAPI ( 1544)] note: Ggggggv note\n[INFO][TiAPI ( 1544)] birthday: null\n[INFO][TiAPI ( 1544)] created: undefined\n[INFO][TiAPI ( 1544)] modified: undefined\n[INFO][TiAPI ( 1544)] kind: 1\n[INFO][TiAPI ( 1544)] email: {}\n[INFO][TiAPI ( 1544)] address: {\"home\":[{\"Street\":\"Test Streeet\"}]}\n[INFO][TiAPI ( 1544)] phone: {\"home\":[\"1 111-111-222\"],\"mobile\":[\"1 111-111-111\"]}\n[INFO][TiAPI ( 1544)] instantMessage: undefined\n[INFO][TiAPI ( 1544)] relatedNames: undefined\n[INFO][TiAPI ( 1544)] date: undefined\n[INFO][TiAPI ( 1544)] url: {color:red} undefined{color}", "updateAuthor": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-06-13T13:26:44.000+0000", "updated": "2013-06-13T13:26:44.000+0000" }, { "id": "257604", "author": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "body": "Seems like email is missing to", "updateAuthor": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-06-13T13:28:12.000+0000", "updated": "2013-06-13T13:28:12.000+0000" }, { "id": "259147", "author": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "body": "Additional problem, the phone > home\r\n\r\n[INFO][TiAPI ( 1544)] phone: {\"home\":[\"1 111-111-222\"],\"mobile\":[\"1 111-111-111\"]}\r\n\r\nIf you try to create a contact and pass an object with a \"home\" number, the number will be not added to the contact, but it works fine with \"mobile\"", "updateAuthor": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-06-24T11:03:24.000+0000", "updated": "2013-06-24T11:03:24.000+0000" }, { "id": "272378", "author": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "body": "Does it will be fixed? It's one of the key features and it does not work...", "updateAuthor": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-22T09:37:53.000+0000", "updated": "2013-09-22T09:37:53.000+0000" }, { "id": "299601", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "PR :- \r\nhttps://github.com/appcelerator/titanium_mobile/pull/5571", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-02T08:33:59.000+0000", "updated": "2014-04-02T08:33:59.000+0000" }, { "id": "315076", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "New PR uploaded\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5923", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-07-21T18:14:50.000+0000", "updated": "2014-07-21T18:14:50.000+0000" }, { "id": "319434", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment - \r\nAppc Studio - 3.4.0.201408180158 \r\nSDK - 3.4.0.v20140819094113 \r\nacs - 1.0.16 \r\nalloy - 1.5.0-dev \r\nnpm - 1.3.2 \r\ntitanium - 3.4.0-dev \r\ntitanium-code-processor - 1.1.1 \r\nOS - mavericks (v10.9.4) \r\nXcode - 6Beta5\r\nDevice - Nexus5(v4.4.4)\r\n\r\nResult - Now its working fine, shows the contact informations in console. See the attached log file for details. hence closing this issue.", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T08:49:42.000+0000", "updated": "2014-08-20T08:49:42.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }