{ "id": "118684", "key": "TIMOB-14900", "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": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15690", "description": "2013 Sprint 18 API", "name": "2013 Sprint 18 API", "archived": true, "released": true, "releaseDate": "2013-09-06" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-08-28T15:39:24.000+0000", "created": "2013-08-16T21:05:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7", "ks", "qe-closed-3.1.3", "qe-testadded", "searchbar", "tableview" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [ { "id": "31166", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "116109", "key": "TIMOB-14292", "fields": { "summary": "iOS: TableView crashing after clicking on SearchBar-filtered row", "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": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:34:25.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": "*Problem*\r\nThe iPhone version of my app is crashing. This happens with Ti 3.1.0 but not with 3.0.2. The view consists of a window containing a table view and a search bar. when the window opens a request is sent to the server and data is retrieved to populate the tableview. When any row is clicked the window closes and the value of the row is returned. The crash happens when I click on any row resulting from search bar filtering.\r\n\r\n*Test case*\r\n{code:javascript}\r\nvar win1 = Ti.UI.createWindow({\r\n\tbackgroundColor : \"#FFF\"\r\n});\r\n\r\nvar wins = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar nav = Titanium.UI.iPhone.createNavigationGroup({\r\n\twindow : wins\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n\ttitle : 'click'\r\n});\r\n\r\nbtn.addEventListener('click', function(e) {\r\n\tvar win = Titanium.UI.createWindow({\r\n\t\tbackgroundColor : 'white'\r\n\t});\r\n\tvar search = Titanium.UI.createSearchBar({\r\n\t\tshowCancel : true,\r\n\t\theight : 43,\r\n\t\ttop : 0\r\n\t});\r\n\tvar data = [];\r\n\r\n\tdata[0] = Titanium.UI.createTableViewSection({\r\n\t\theaderTitle : 'Header 1'\r\n\t});\r\n\tdata[0].add(Titanium.UI.createTableViewRow({\r\n\t\ttitle : 'Row 1'\r\n\t}));\r\n\r\n\tdata[1] = Titanium.UI.createTableViewSection({\r\n\t\theaderTitle : 'Header 2'\r\n\t});\r\n\tdata[1].add(Titanium.UI.createTableViewRow({\r\n\t\ttitle : 'Row 2'\r\n\t}));\r\n\r\n\tsearch.addEventListener('focus', function(e) {\r\n\t\tTi.API.info('focus');\r\n\t});\r\n\r\n\tvar tableview = Titanium.UI.createTableView({\r\n\t\tdata : data,\r\n\t\tsearch : search,\r\n\r\n\t});\r\n\r\n\ttableview.addEventListener('click', function(e) {\r\n\t\tTi.API.info(e);\r\n\t\tnav.close(win);\r\n\t});\r\n\r\n\twin.add(tableview);\r\n\r\n\tnav.open(win);\r\n});\r\n\r\nwins.add(btn);\r\n\r\nwin1.add(nav);\r\nwin1.open();\r\n{code}\r\n\r\n*Log*\r\n{code}\r\n[INFO] : Deploy type: development\r\n[INFO] : Building for target: simulator\r\n[INFO] : Building using iOS SDK: 7.0\r\n[INFO] : Building for iOS iPad Simulator: 7.0\r\n[INFO] : Building for device family: ipad\r\n[INFO] : Minimum iOS version: 5.0\r\n[INFO] : Debugging disabled\r\n[INFO] : Profiler disabled\r\n[INFO] : Initiating prepare phase\r\n[INFO] : Forcing rebuild: device family changed since last build\r\n[INFO] : Was: iphone\r\n[INFO] : Now: ipad\r\n[INFO] : Found Titanium module id=ti.cloud version=latest platform=commonjs deploy-type=development\r\n[INFO] : Found Titanium module id=com.appcelerator.apm version=latest platform=iphone deploy-type=development\r\n[INFO] : Found Titanium module id=com.soasta.touchtest version=1.0 platform=iphone deploy-type=development\r\n[INFO] : Detected third-party native iOS module: com.appcelerator.apm version 1.0.4\r\n[INFO] : Detected third-party native iOS module: com.soasta.touchtest version 1.0\r\n[INFO] : Cleaning old build directory\r\n[INFO] : Performing full rebuild\r\n[INFO] : Copying Xcode iOS files\r\n[INFO] : Creating Xcode project directory: /Users/oromero/Documents/Appcelerator_Studio_Workspace/myapp/build/iphone/myapp.xcodeproj\r\n[INFO] : Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj\r\n[INFO] : Writing Xcode project configuration: project.xcconfig\r\n[INFO] : Writing Xcode module configuration: module.xcconfig\r\n[INFO] : Creating symlinks for simulator build\r\n[INFO] : Injecting native libraries into Xcode project file\r\n[INFO] : Forcing rebuild: ApplicationDefaults.m has changed since last build\r\n[INFO] : Writing properties to ApplicationDefaults.m\r\n[INFO] : No module resources to copy\r\n[INFO] : Copying CommonJS modules\r\n[INFO] : Invoking xcodebuild\r\n[INFO] : Finished building the application in 12s 883ms\r\n[LiveView] No active servers\r\n[INFO] : Running application in iOS Simulator\r\n[INFO] : Launching application in iOS Simulator\r\n[INFO] : Focusing the iOS Simulator\r\n[INFO] : Application started\r\n[INFO] : myapp/1.0 (3.1.3.v20130815144559.0464cae)\r\n[INFO] : focus\r\n[INFO] : {\r\n[INFO] : bubbles = 1;\r\n[INFO] : cancelBubble = 0;\r\n[INFO] : detail = 0;\r\n[INFO] : index = 0;\r\n[INFO] : row = \"[object TiUITableViewRow]\";\r\n[INFO] : rowData = \"[object TiUITableViewRow]\";\r\n[INFO] : searchMode = 1;\r\n[INFO] : section = \"[object TiUITableViewSection]\";\r\n[INFO] : source = \"[object TiUITableViewRow]\";\r\n[INFO] : type = click;\r\n[INFO] : x = 30;\r\n[INFO] : y = 27;\r\n[INFO] : }\r\n[INFO] : objc[8514]: __weak variable @ 0xcba5804 holds 0x10cbac6b instead of 0xd209000\r\n-- End simulator log ---------------------------------------------------------\r\n[INFO] : Application has exited from iOS Simulator\r\n[INFO] : Project built successfully in 1m 4s 965ms\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS7 simulator only: Application has exited from iOS Simulator on a \"second time\" Window creation", "creator": { "name": "hini", "key": "hini", "displayName": "Hani Hamadeh", "active": true, "timeZone": "Asia/Beirut" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "266954", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cloned from previous ticket to describe iOS 7 behavior.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-16T21:08:55.000+0000", "updated": "2013-08-16T21:08:55.000+0000" }, { "id": "266960", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We encountered this issue, verifying the fix for TIMOB-14292.\r\nTested with:\r\nAppcelerator Studio, build: 3.1.2.201308091728\r\nTitanium SDK, build: 3.1.2.GA and 3.1.3.v20130815144559\r\nCLI: 3.1.2\r\nKS 3.1.2.GA\r\n*works fine with*\r\nDevices:\r\nIpad4 iOS 7 beta5\r\niPhone5 iOS7 beta5\r\n*exited from iOS simultor*\r\niPhone simulator iOS SDK: 7.0\r\nSimulator Version: 7.0\r\n\r\nTest steps:\r\n1. Launch the above code in iOS7 simulator\r\n2. Press \"click\" and perform search\r\n3. Click on the chosen row \r\n4. Press \"click\" again and repeat steps 2-3\r\n\r\nPass case: ability to repeat steps\r\nFail case: [INFO] : Application has exited from iOS Simulator after step 4\r\n*Note*: This behavior occurs on *iOS7 simulator only*", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-16T21:49:30.000+0000", "updated": "2013-08-26T23:05:21.000+0000" }, { "id": "268257", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested the above code and *cannot reproduce* termination of simulator, performing repeatable search.\n\nEnvironment:\nMac osx 10.8.4 Mountain Lion\nAppcelerator Studio, build: 3.1.3.201308252005\nTitanium SDK, build:3.1.3.v20130822140128 \nalloy:1.2.1-cr\nCLI:3.1.2\nDevices:\nIpad4 iOS 7 beta6(11A4449d)\niPhone5 iOS7 beta6\niPhone simulator iOS SDK: 7.0\nSimulator Version: 7.0\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-26T23:24:46.000+0000", "updated": "2013-08-26T23:24:46.000+0000" }, { "id": "268461", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as cannot reproduce after testing with:\r\nAppcelerator Studio, build: 3.1.3.201308252005\r\nTitanium SDK, build 3.1.3.v20130827103108\r\nalloy 1.2.1\r\nCLI 3.1.2\r\nDevice:\r\niPhone 4 iOS7 beta6 (11A4449d)\r\niPhone simulator iOS SDK: 7.0\r\nSimulator Version: 7.0", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-27T22:01:07.000+0000", "updated": "2013-08-27T22:01:38.000+0000" }, { "id": "268591", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Should have been closed as cannot reproduce.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-28T15:39:24.000+0000", "updated": "2013-08-28T15:39:24.000+0000" }, { "id": "414467", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:34:25.000+0000", "updated": "2017-03-21T21:34:25.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }