{ "id": "119215", "key": "TIMOB-14988", "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" }, { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-29T23:33:42.000+0000", "created": "2013-08-28T21:29:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.1.3", "qe-closed-3.1.3", "regression" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-30T17:43:12.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": "h5. Update\r\nThe issue is related to the fact the opened window is modal.\r\nAttached a small sample code showing the issue.\r\n\r\n\r\nh5. Problem description\r\n\r\n'Journal' Alloy sample app (https://github.com/appcelerator/alloy/tree/master/test/apps/models/journal) is throwing an exception on iOS when using TiSDK 3.1.3 (tested using latest 3.1.3.v20130828104626).\r\n\r\nOn Android it works as expected.\r\n\r\nThe issue seems to be reproducible only using 3.1.3SDK - Alloy version is the latest GA.\r\nUsing TiSDK 3.1.2.GA and Alloy 1.2.1.GA it works as expected on iOS.\r\n\r\n\r\nh5. Steps to reproduce\r\n1. Grab the Alloy model sample 'Journal' (attached the whole project).\r\n2. Run on device or emulator (tested on a Iphone 5 with iOS 6.1.4 and on iPhone simulator version 6.0/Xcode4.6 and 7.0/Xcode5)\r\n3. Run the app and click on the 'add entry' button\r\n\r\nResult: Application Error red-screen is shown (see screenshot).\r\n\r\nError log:\r\n{code}\r\n[ERROR] : Script Error {\r\n[ERROR] : backtrace = \"#0 () at file://localhost/Users/fcasali/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/F238416E-57EC-47D8-AD43-C6E3CBDFC826/Harness.app/alloy.js:214\\n#1 addEntry() at file://localhost/Users/fcasali/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/F238416E-57EC-47D8-AD43-C6E3CBDFC826/Harness.app/alloy/controllers/index.js:37\";\r\n[ERROR] : line = 50;\r\n[ERROR] : message = \"-[__NSCFString charValue]: unrecognized selector sent to instance 0x149583e0\";\r\n[ERROR] : sourceId = 309899040;\r\n[ERROR] : sourceURL = \"file://localhost/Users/fcasali/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/F238416E-57EC-47D8-AD43-C6E3CBDFC826/Harness.app/alloy/controllers/add.js\";\r\n[ERROR] : }\r\n{code}\r\n\r\nFull log attached.", "attachment": [ { "id": "41954", "filename": "iOS_journalApp_log", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-28T21:29:43.000+0000", "size": 208554, "mimeType": "application/octet-stream" }, { "id": "41987", "filename": "ios7_modalWinIssue.zip", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-29T18:40:16.000+0000", "size": 5830411, "mimeType": "application/zip" }, { "id": "41953", "filename": "Screen Shot 2013-08-28 at 2.16.46 PM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-28T21:29:43.000+0000", "size": 43384, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Error when opening a modal window : \"NSCFString charValue: unrecognized selector\"", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.1.3.v20130828104626\r\nAlloy 1.2.1.GA\r\nAppcelerator Studio 3.1.3.201308252005\r\nCLI 3.1.2.GA\r\nXcode 4.6 and Xcode 5 beta6", "comment": { "comments": [ { "id": "268960", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "master - https://github.com/appcelerator/titanium_mobile/pull/4625\r\n3_1_X - https://github.com/appcelerator/titanium_mobile/pull/4626", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-29T21:57:17.000+0000", "updated": "2013-08-29T21:57:17.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }