{ "id": "148987", "key": "TIMOB-19247", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-05-08T05:03:45.000+0000", "created": "2015-06-22T08:10:13.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "listviewitem", "textarea" ], "versions": [], "issuelinks": [ { "id": "54837", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "162281", "key": "TIMOB-23887", "fields": { "summary": "iOS: Attributed string link on a TextArea doesn't fire link event", "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": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-26T13:16:27.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": [], "description": "I'm in the process of converting a TableView to a ListView. Everything is ok excluding a textarea…\r\nIn the TableView, this TextArea was in the custom TableViewRow view and had the {{handleLinks}} argument set to {{false}}. But when I do that in the ListItem template, I got the following error. If I remove this argument, everything is fine, but I need it.\r\n\r\n\r\n{code:java}\r\n[ERROR] : Reason:\r\n[ERROR] : Invalid type passed to function\r\n[ERROR] : Stack trace:\r\n[ERROR] : \r\n[ERROR] : 0 CoreFoundation 0x0502972a __exceptionPreprocess + 154\r\n[ERROR] : 1 libobjc.A.dylib 0x04bfca97 objc_exception_throw + 44\r\n[ERROR] : 2 Showstar 0x00192818 TiExceptionThrowWithNameAndReason + 232\r\n[ERROR] : 3 Showstar 0x000f155f -[TiUIView throwException:subreason:location:] + 143\r\n[ERROR] : 4 Showstar 0x00101964 -[TiUITextArea setHandleLinks_:] + 580\r\n[ERROR] : 5 libobjc.A.dylib 0x04c12771 -[NSObject performSelector:withObject:] + 70\r\n[ERROR] : 6 Showstar 0x0015a651 DoProxyDelegateReadKeyFromProxy + 321\r\n[ERROR] : 7 Showstar 0x0015acb7 DoProxyDelegateReadValuesWithKeysFromProxy + 1239\r\n[ERROR] : 8 Showstar 0x000f67c1 -[TiUIView readProxyValuesWithKeys:] + 65\r\n[ERROR] : 9 Showstar 0x000cd187 -[TiViewProxy firePropertyChanges] + 167\r\n[ERROR] : 10 Showstar 0x000cad12 -[TiViewProxy view] + 706\r\n[ERROR] : 11 Showstar 0x000caeb2 -[TiViewProxy view] + 1122\r\n[ERROR] : 12 Showstar 0x000c2fdc -[TiViewProxy add:] + 1388\r\n[ERROR] : 13 Showstar 0x000d64b1 __37-[TiViewProxy unarchiveFromTemplate:]_block_invoke783 + 273\r\n[ERROR] : 14 CoreFoundation 0x04f4dcc3 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 99\r\n[ERROR] : 15 CoreFoundation 0x04f4d38f -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 287\r\n[ERROR] : 16 CoreFoundation 0x04f4d1e5 -[NSArray enumerateObjectsUsingBlock:] + 53\r\n[ERROR] : 17 Showstar 0x000d5faf -[TiViewProxy unarchiveFromTemplate:] + 479\r\n[ERROR] : 18 Showstar 0x000d682f +[TiViewProxy unarchiveFromTemplate:inContext:] + 367\r\n[ERROR] : 19 Showstar 0x000d6410 __37-[TiViewProxy unarchiveFromTemplate:]_block_invoke783 + 112\r\n[ERROR] : 20 CoreFoundation 0x04f4dcc3 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 99\r\n[ERROR] : 21 CoreFoundation 0x04f4d38f -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 287\r\n[ERROR] : 22 CoreFoundation 0x04f4d1e5 -[NSArray enumerateObjectsUsingBlock:] + 53\r\n[ERROR] : 23 Showstar 0x000d5faf -[TiViewProxy unarchiveFromTemplate:] + 479\r\n[ERROR] : 24 Showstar 0x002fd1be -[TiUIListItemProxy unarchiveFromTemplate:] + 78\r\n[ERROR] : 25 Showstar 0x00304b64 -[TiUIListView setDictTemplates_:] + 1156\r\n[ERROR] : 26 Showstar 0x00311f73 __34-[TiUIListViewProxy setTemplates:]_block_invoke139 + 83\r\n[ERROR] : 27 Showstar 0x001935ac __TiThreadPerformOnMainThread_block_invoke + 60\r\n[ERROR] : 28 Showstar 0x00193a20 TiThreadProcessPendingMainThreadBlocks + 528\r\n[ERROR] : 29 Showstar 0x001937f9 __TiThreadPerformOnMainThread_block_invoke208 + 57\r\n[ERROR] : 30 libdispatch.dylib 0x057c8d8a _dispatch_call_block_and_release + 15\r\n[ERROR] : 31 libdispatch.dylib 0x057e5ecf _dispatch_client_callout + 14\r\n[ERROR] : 32 libdispatch.dylib 0x057ceee3 _dispatch_main_queue_callback_4CF + 677\r\n[ERROR] : 33 CoreFoundation 0x04f828ee __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14\r\n[ERROR] : 34 CoreFoundation 0x04f405f0 __CFRunLoopRun + 2256\r\n[ERROR] : 35 CoreFoundation 0x04f3fa5b CFRunLoopRunSpecific + 443\r\n[ERROR] : 36 CoreFoundation 0x04f3f88b CFRunLoopRunInMode + 123\r\n[ERROR] : 37 GraphicsServices 0x055282c9 GSEventRunModal + 192\r\n[ERROR] : 38 GraphicsServices 0x05528106 GSEventRun + 104\r\n[ERROR] : 39 UIKit 0x01b27106 UIApplicationMain + 1526\r\n[ERROR] : 40 Showstar 0x00084b58 main + 408\r\n[ERROR] : 41 libdyld.dylib 0x0580bac9 start + 1\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: handleLinks for TextArea doesn't work in ListItem templates", "creator": { "name": "jdanthinne", "key": "jdanthinne", "displayName": "Jérôme Danthinne", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jdanthinne", "key": "jdanthinne", "displayName": "Jérôme Danthinne", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Command-Line Interface, version 4.1.2,\r\nXcode 6.4 / iOS SDK 8.4, tested on Simulator 8.4\r\nAppcelerator Studio 4.1.1.201507141126 / SDK 4.1.0.GA", "closedSprints": [ { "id": 451, "state": "closed", "name": "2015 Sprint 16 SDK", "startDate": "2015-08-01T00:30:05.052Z", "endDate": "2015-08-15T00:30:00.000Z", "completeDate": "2015-08-17T05:55:00.386Z", "originBoardId": 114 }, { "id": 889, "state": "closed", "name": "2017 Sprint 10 SDK", "startDate": "2017-05-08T00:27:49.740Z", "endDate": "2017-05-22T00:27:00.000Z", "completeDate": "2017-05-22T02:41:01.011Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "356140", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~jdanthinne] can you please attach a test case and steps to reproduce?\r\n", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-06-26T23:23:02.000+0000", "updated": "2015-06-26T23:23:02.000+0000" }, { "id": "356165", "author": { "name": "jdanthinne", "key": "jdanthinne", "displayName": "Jérôme Danthinne", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just launch this, and it crashes just on app launch.\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n \r\n\r\n{code}\r\n\r\n{code:javascript}\r\n$.win.open();\r\n{code}\r\n", "updateAuthor": { "name": "jdanthinne", "key": "jdanthinne", "displayName": "Jérôme Danthinne", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-06-27T07:31:03.000+0000", "updated": "2015-07-01T15:01:25.000+0000" }, { "id": "356741", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~jdanthinne], so far we can not replicate the issue, can you please attach a functional test case and more information about your environment? Are you testing this on the simulator? real device? which OS version? Model? \r\n\r\n", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-07-02T16:12:54.000+0000", "updated": "2015-07-02T16:12:54.000+0000" }, { "id": "356794", "author": { "name": "jdanthinne", "key": "jdanthinne", "displayName": "Jérôme Danthinne", "active": true, "timeZone": "Europe/Berlin" }, "body": "What do you mean by a functional test case? The attached code is the one I'm using to test the issue…\r\n\r\nMy current environment:\r\nXcode 6.4 / iOS SDK 8.4, tested on Simulator 8.4\r\nAppcelerator Studio 4.1.0.201507010234 / SDK 4.1.0v20150626223333", "updateAuthor": { "name": "jdanthinne", "key": "jdanthinne", "displayName": "Jérôme Danthinne", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-07-02T20:33:57.000+0000", "updated": "2015-07-02T20:33:57.000+0000" }, { "id": "357351", "author": { "name": "jdanthinne", "key": "jdanthinne", "displayName": "Jérôme Danthinne", "active": true, "timeZone": "Europe/Berlin" }, "body": "Still happening with SDK 4.1.0.GA", "updateAuthor": { "name": "jdanthinne", "key": "jdanthinne", "displayName": "Jérôme Danthinne", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-07-09T12:23:18.000+0000", "updated": "2015-07-09T12:23:18.000+0000" }, { "id": "362358", "author": { "name": "jdanthinne", "key": "jdanthinne", "displayName": "Jérôme Danthinne", "active": true, "timeZone": "Europe/Berlin" }, "body": "Not crashing anymore with SDK 5.0.0.Beta, but any function added in the onLink attribute is never called…", "updateAuthor": { "name": "jdanthinne", "key": "jdanthinne", "displayName": "Jérôme Danthinne", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-05T14:27:53.000+0000", "updated": "2015-09-05T14:27:53.000+0000" }, { "id": "419264", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "As mentioned in last comment \"link\" event is not fired. It is fixed in TIMOB-23887 . Marking it as duplicate.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-08T05:02:10.000+0000", "updated": "2017-05-08T05:02:10.000+0000" }, { "id": "420497", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-26T13:16:27.000+0000", "updated": "2017-05-26T13:16:27.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }