{ "id": "141756", "key": "TIMOB-18242", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-12-17T02:55:13.000+0000", "created": "2014-12-17T02:49:01.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.5.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T21:56:51.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": "h5. Problem description\r\nFollowing TIMOB-17805, Ti.UI.iPad.Popover objects have been refactored and are defined in a different way. \r\n\r\nIf using a sample code working with 3.4.1.GA where a rightNavButton or a title property is defined in the popover, an exception is thrown as expected, however, in the console log, 3.4.2 is mentioned instead of 3.5.0 as the SDK version where it has been removed.\r\n\r\nh5. Steps to reproduce\r\n1. Run the following sample with latest 3.5.X:\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar rightButton = Ti.UI.createButton({title: 'Robin'});\r\nrightButton.addEventListener('click', function(e){\r\n alert(\"But green's the color of spring.\");\r\n});\r\n\r\nvar popover = Ti.UI.iPad.createPopover({\r\n width: 250,\r\n height: 100,\r\n title:\"I'm green\",\r\n rightNavButton: rightButton\r\n});\r\n\r\nvar button = Ti.UI.createButton({title: 'Open Popover!'});\r\nbutton.addEventListener('click', function(e){\r\n popover.show({ view: button });\r\n});\r\nwin.add(button);\r\n\r\nwin.open();\r\n{code}\r\n\r\n2. Click on the 'Open Popover' label\r\n\r\nResult: Application error is shown (as expected). Console log however displays SDK 3.4.2 instead of 3.5.0:\r\n{code}\r\n[ERROR] Support for setting title on the popover directly is removed in 3.4.2\r\n[ERROR] Support for setting rightNavButton on the popover directly is removed in 3.4.2\r\n{code} ", "attachment": [], "flagged": false, "summary": "'Ti.UI.iPad.Popover' error message showing 3.4.2 instead of 3.5.0 SDK version", "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.5.0.v20141215113314 \r\nCLI 3.4.1.GA\r\n", "comment": { "comments": [ { "id": "336717", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This was removed in 3.4.2 (as shown in TIMOB-17805) thus that is the proper version to display. The fact that we did not release 3.4.2 does not mean that it's still not the correct version (should we ever release 3.4.2)", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-17T02:55:13.000+0000", "updated": "2014-12-17T02:55:13.000+0000" }, { "id": "414021", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T21:56:51.000+0000", "updated": "2017-03-20T21:56:51.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }