{
"id": "151934",
"key": "TIMOB-19708",
"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": "14826",
"description": "Release 5.1.0-remaining iOS9 features, Android M features",
"name": "Release 5.1.0",
"archived": false,
"released": true,
"releaseDate": "2015-11-20"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2015-10-13T20:58:41.000+0000",
"created": "2015-10-11T11:51:22.000+0000",
"priority": {
"name": "None",
"id": "6"
},
"labels": [],
"versions": [
{
"id": "14826",
"description": "Release 5.1.0-remaining iOS9 features, Android M features",
"name": "Release 5.1.0",
"archived": false,
"released": true,
"releaseDate": "2015-11-20"
}
],
"issuelinks": [],
"assignee": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"updated": "2015-11-20T03:37:14.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": "10206",
"name": "iOS",
"description": "iOS Platform"
}
],
"description": "If you define a shortcut in {{tiapp.xml}}:\r\n\r\n{code}\r\n UIApplicationShortcutItems\r\n \r\n \r\n UIApplicationShortcutItemIconType\r\n UIApplicationShortcutIconTypeAdd\r\n UIApplicationShortcutItemSubtitle\r\n Take a brand new photo\r\n UIApplicationShortcutItemTitle\r\n Take photo\r\n UIApplicationShortcutItemType\r\n NewPhoto\r\n UIApplicationShortcutItemUserInfo\r\n \r\n myCustomKey\r\n myCustomValue\r\n \r\n \r\n \r\n{code}\r\n\r\nThe {{shortcutitemclick}} event will not have the shortcut's type, probably because it is overwritten by the event type:\r\n\r\n{code}\r\n[INFO] {\r\n[INFO] bubbles = 1;\r\n[INFO] cancelBubble = 0;\r\n[INFO] source = \"[object TiAppiOS]\";\r\n[INFO] subtitle = \"Take a brand new photo\";\r\n[INFO] title = \"Take photo\";\r\n[INFO] type = shortcutitemclick;\r\n[INFO] userInfo = {\r\n[INFO] myCustomKey = myCustomValue;\r\n[INFO] };\r\n[INFO] }\r\n{code}",
"attachment": [],
"flagged": false,
"summary": "Ti.App.iOS:shortcutitemclick lacks shortcutitem type",
"creator": {
"name": "fokkezb",
"key": "fokke",
"displayName": "Fokke Zandbergen",
"active": true,
"timeZone": "Europe/Amsterdam"
},
"subtasks": [],
"reporter": {
"name": "fokkezb",
"key": "fokke",
"displayName": "Fokke Zandbergen",
"active": true,
"timeZone": "Europe/Amsterdam"
},
"environment": "SDK 5.1.0.v20151009094506",
"comment": {
"comments": [
{
"id": "366600",
"author": {
"name": "fokkezb",
"key": "fokke",
"displayName": "Fokke Zandbergen",
"active": true,
"timeZone": "Europe/Amsterdam"
},
"body": "PR FR using https://github.com/appcelerator-developer-relations/appc-sample-3dtouch verifies the fix, but {{icon}} is missing:\r\n\r\n{code}\r\n[INFO] Ti.App.iOS:shortcutitemclick {\r\n[INFO] \"title\": \"Take photo\",\r\n[INFO] \"itemtype\": \"NewPhoto\",\r\n[INFO] \"subtitle\": \"Take a brand new photo\",\r\n[INFO] \"userInfo\": {\r\n[INFO] \"myCustomKey\": \"myCustomValue\"\r\n[INFO] },\r\n[INFO] \"bubbles\": true,\r\n[INFO] \"type\": \"shortcutitemclick\",\r\n[INFO] \"source\": {},\r\n[INFO] \"cancelBubble\": false\r\n[INFO] }\r\n{code}",
"updateAuthor": {
"name": "fokkezb",
"key": "fokke",
"displayName": "Fokke Zandbergen",
"active": true,
"timeZone": "Europe/Amsterdam"
},
"created": "2015-10-13T07:00:21.000+0000",
"updated": "2015-10-13T07:00:21.000+0000"
},
{
"id": "366693",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/7290\r\nPR (5_1_X): https://github.com/appcelerator/titanium_mobile/pull/7298",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2015-10-13T20:48:05.000+0000",
"updated": "2015-10-13T20:48:05.000+0000"
},
{
"id": "366956",
"author": {
"name": "htbryant",
"key": "htbryant",
"displayName": "Harry Bryant",
"active": true,
"timeZone": "Europe/London"
},
"body": "Verified as fixed, defined a shortcut in the tiapp.xml & built to device. when clicking on the shortcut item the {{shortcutitemclick}} event fired contains the shortcut's type (( {{\"itemtype\":\"contact_us\"}} )) .\r\n\r\nTested on iPhone 6S + \r\nCLI Specs Template\r\n\r\nOSX El Capitan 10.11\r\nStudio: 4.3.1.201509302304\r\nTi SDK: 5.2.0.v20151014085238\r\nAppc NPM: 4.2.1-1\r\nAppc CLI: 5.1.0-38\r\n\r\nClosing ticket.",
"updateAuthor": {
"name": "htbryant",
"key": "htbryant",
"displayName": "Harry Bryant",
"active": true,
"timeZone": "Europe/London"
},
"created": "2015-10-15T21:03:25.000+0000",
"updated": "2015-10-15T21:03:25.000+0000"
}
],
"maxResults": 5,
"total": 5,
"startAt": 0
}
}
}