{ "id": "85657", "key": "TIMOB-7458", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13277", "name": "Sprint 2012-08", "archived": true, "released": true, "releaseDate": "2012-04-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-13T13:45:50.000+0000", "created": "2012-01-27T16:35:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "regression" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-06T18:58:44.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": "10207", "name": "Tooling" } ], "description": "Using content assist, in the studio editor, Ti.Media.videoPlayer.repeatMode and other sdk properties have incomplete content assist property descriptions.\r\n\r\nThe api.jsca file in the sdk has invalid tags for these properties in 1.8.0.1 and 1.8.1. Screenshot attached.\r\n\r\nThe xml tags were correct and the properties were properly described in content assist using sdk 1.7.5. Screenshot attached.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Open studio.\r\n2. Create a new project.\r\n3. Select sdk 1.8.0.1 or 1.8.1.\r\n4. In the app.js file, type:\r\n\r\n{code:title=app.js}\r\n\r\nvar videoPlayer = Ti.Media.createVideoPlayer();\r\nvideoPlayer\r\n\r\n{code}\r\n\r\n5. Open content assist. If it is not open by pressing cntrl + space.\r\n6. Next to videoPlayer, type .repeatMode (e.g., videoPlayer.repeatMode)\r\n7. Click on the content assist description for the property.\r\n\r\nExpected Result:\r\n\r\nProperty description should be fully populated with descriptive elements (i.e., other properties).\r\n\r\nPart of the description should read: 'Defaults to Titanium.Media.VIDEO_REPEAT_MODE_NONE.'\r\n\r\nActual Result:\r\n\r\nThere are holes in the description.\r\n\r\nPart of the description reads: 'Defaults to .'", "attachment": [ { "id": "25389", "filename": "1.7.5 works.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-27T16:35:15.000+0000", "size": 103356, "mimeType": "image/png" }, { "id": "25390", "filename": "1.8.0.1-1.8.1 doesn't work.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-27T16:35:16.000+0000", "size": 125650, "mimeType": "image/png" } ], "flagged": false, "summary": "Tooling: api.jsca is generated with invalid xml tags resulting in content assist disparities", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 1.8.0.1 githash=fbdc96f, 1.8.1.v20120127113107\r\nStudio: 1.0.8.201201262211, 1.0.7\r\nOS: Lion", "comment": { "comments": [ { "id": "190614", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. RE-CREATE FAILCASE:\r\n\r\n* Create a new Titanium Mobile project in Ti Studio.\r\n* Open app.js and type \"Titanium.XML.Node.\".\r\n* Make sure content assist comes up (hit ctrl-space if not) so you can see ATTRIBUTE_NODE, etc. in the member list.\r\n* Look at the descriptive text for ATTRIBUTE_NODE. It won't make sense, because it says \"The value of when this node is a\".\r\n\r\nh3. TEST THE FIX:\r\n\r\n* Create a _new_ Titanium Mobile project in Ti Studio (don't use the old one you used for testing the failcase, because Studio caches the code assist info per-project, so you'll have old code assist info in that older project.)\r\n* Open app.js and type \"Titanium.XML.Node.\".\r\n* Make sure content assist comes up (hit ctrl-space if not) so you can see ATTRIBUTE_NODE, etc. in the member list.\r\n* Look at the descriptive text for ATTRIBUTE_NODE. This time it should make sense and say \"The value of nodeType when this node is a Titanium.XML.Attr\".", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-04-11T13:58:36.000+0000", "updated": "2012-04-11T13:58:36.000+0000" }, { "id": "190819", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Re-opening because I didn't include the display of pseudo-type names.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-04-12T16:23:12.000+0000", "updated": "2012-04-12T16:23:12.000+0000" }, { "id": "190867", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "SEcond PR:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/1995", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-04-13T09:03:01.000+0000", "updated": "2012-04-13T09:03:01.000+0000" }, { "id": "190925", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-04-13T13:27:53.000+0000", "updated": "2012-04-13T13:27:53.000+0000" }, { "id": "409353", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-06T18:58:44.000+0000", "updated": "2017-03-06T18:58:44.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }