{ "id": "117258", "key": "TIMOB-14574", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-07-27T21:11:11.000+0000", "created": "2013-07-16T22:10:30.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "30242", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "117259", "key": "TIMOB-14575", "fields": { "summary": "iOS: setting borderRadius to null causes error", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30249", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "116320", "key": "ALOY-717", "fields": { "summary": "Improve \"reflow\"/\"repaint\" functionality when adding and removing classes", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-27T21:11:11.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "h2. problem\r\n\r\nSetting *borderWidth* to null has the following effect on these platforms:\r\n\r\nh4. ios\r\n\r\nthrows the following exception:\r\n\r\n{code}\r\n[DEBUG] 2013-07-16 18:03:56.516 parity[8276:c07] -[NSNull floatValue]: unrecognized selector sent to instance 0x3a02678\r\n[ERROR] Script Error {\r\n[ERROR] backtrace = \"#0 () at :0\";\r\n[ERROR] line = 12;\r\n[ERROR] message = \"-[NSNull floatValue]: unrecognized selector sent to instance 0x3a02678\";\r\n[ERROR] sourceId = 199498176;\r\n[ERROR] sourceURL = \"file://localhost/Users/tlukasavage/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/4B1C652E-493D-469E-80CE-FA6178E3874B/parity.app/app.js\";\r\n[ERROR] } \r\n{code}\r\n\r\nh4. android\r\n\r\nMakes the border transparent, presumably setting the borderWidth to the default zero value.\r\n\r\nh4. mobileweb\r\n\r\nHas no apparent impact on the border, leaving just as it was.\r\n\r\nh2. expected\r\n\r\nSetting borderWidth to null should remove the borderWidth (or set it to 0) on all platforms without error.\r\n\r\nh2. test case\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff',\r\n\tmodal: false,\r\n\texitOnClose: true\r\n});\r\nvar label = Ti.UI.createLabel({\r\n\ttext: 'just a test label',\r\n\tborderColor: '#0f0',\r\n\tborderWidth: 2\r\n});\r\nlabel.addEventListener('click', function(e) {\r\n\tlabel.borderWidth = null;\r\n});\r\n\r\nwin.add(label);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Parity: Platforms all behave differently when setting borderWidth to null", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.1.1\r\niOS 6.1", "comment": { "comments": [ { "id": "424993", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-27T21:11:11.000+0000", "updated": "2017-07-27T21:11:11.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }