{ "id": "173036", "key": "TIMOB-26844", "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": null, "resolutiondate": null, "created": "2019-02-21T17:24:37.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule" ], "versions": [], "issuelinks": [ { "id": "59181", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "176043", "key": "TIMOB-28346", "fields": { "summary": "TiAPI: Remove getter/setter methods for properties", "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 } } } }, { "id": "57500", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "172833", "key": "TIMOB-26707", "fields": { "summary": "Android: Calling Ti.Local.setLanguage() logs unexpected deprecation warning", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "57933", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "172894", "key": "TIMOB-26753", "fields": { "summary": "Android: Setter/getter deprecation warnings about API's that are not used (SDK 8+) ", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "57941", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "171778", "key": "TIMOB-26119", "fields": { "summary": "TiAPI: Deprecate getter/setter accessor methods for properties", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "57936", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "164187", "key": "TIMOB-24075", "fields": { "summary": "Ti.UI: Properties versus methods (getters/setters)", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "57736", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "173878", "key": "TIMOB-27242", "fields": { "summary": "Android: Improve getter and setter warnings", "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": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2021-02-10T18:04:48.000+0000", "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" } }, "components": [], "description": "h5.Description\r\n\r\nWe've seen a few warning logs for deprecation messages that don't seem to be correct as the method being called is _not_ a generated getter/setter but is a handwritten function. Here's a probably non-exhaustive list generated by checking if a property exists for a get/set function and the function is not deprecated in the api.jsca file (although in most cases a handwritten get/set function appears in the api.jsca file twice due to a bug fixed in https://github.com/appcelerator/titanium_mobile/pull/10711)\r\n\r\n{code}\r\nTitanium.Android.Activity - setRequestedOrientation\r\nTitanium.Android.Intent - getData\r\nTitanium.Android.MenuItem - setCheckable\r\nTitanium.Android.MenuItem - setChecked\r\nTitanium.Android.MenuItem - setEnabled\r\nTitanium.Android.MenuItem - setVisible\r\nTitanium.Media.AudioPlayer - getPaused\r\nTitanium.Media.AudioPlayer - getPlaying\r\nTitanium.Media.Sound - setLooping\r\nTitanium.Media.Sound - setPaused\r\nTitanium.Network.HTTPClient - setTimeout\r\nTitanium.UI.ListSection - setItems\r\nTitanium.UI.Picker - setValue\r\nTitanium.UI.ScrollView - setZoomScale\r\nTitanium.UI.SearchBar - setShowCancel\r\nTitanium.UI.Slider - setValue\r\nTitanium.UI.Tab - setWindow\r\nTitanium.UI.TabGroup - setToolbar\r\nTitanium.UI.TabGroup - getActiveTab\r\nTitanium.UI.TabGroup - setActiveTab\r\nTitanium.UI.TabGroup - getTabs\r\nTitanium.UI.TableView - setData\r\nTitanium.UI.TableView - setHeaderPullView\r\nTitanium.UI.TextArea - setSelection\r\nTitanium.UI.TextField - setSelection\r\nTitanium.UI.WebView - setHtml\r\nTitanium.UI.Window - setToolbar\r\nTitanium.UI.iOS.SplitWindow - setToolbar\r\nTitanium.UI.iOS.SplitWindow - setShowMasterInPortrait\r\nTitanium.UI.iOS.SplitWindow - setMasterIsOverlayed\r\nTitanium.UI.iPad.SplitWindow - setToolbar\r\nTitanium.Map.Annotation - getCanShowCallout\r\nTitanium.Map.Annotation - setCanShowCallout\r\nTitanium.Map.Annotation - getCenterOffset\r\nTitanium.Map.Annotation - setCenterOffset\r\nTitanium.Map.Annotation - getCustomView\r\nTitanium.Map.Annotation - setCustomView\r\nTitanium.Map.Annotation - getDraggable\r\nTitanium.Map.Annotation - setDraggable\r\nTitanium.Map.Annotation - getImage\r\nTitanium.Map.Annotation - setImage\r\nTitanium.Map.Annotation - getLatitude\r\nTitanium.Map.Annotation - setLatitude\r\nTitanium.Map.Annotation - getLeftButton\r\nTitanium.Map.Annotation - setLeftButton\r\nTitanium.Map.Annotation - getLeftView\r\nTitanium.Map.Annotation - setLeftView\r\nTitanium.Map.Annotation - getLongitude\r\nTitanium.Map.Annotation - setLongitude\r\nTitanium.Map.Annotation - getPincolor\r\nTitanium.Map.Annotation - setPincolor\r\nTitanium.Map.Annotation - getRightButton\r\nTitanium.Map.Annotation - setRightButton\r\nTitanium.Map.Annotation - getRightView\r\nTitanium.Map.Annotation - setRightView\r\nTitanium.Map.Annotation - getSubtitle\r\nTitanium.Map.Annotation - setSubtitle\r\nTitanium.Map.Annotation - getSubtitleid\r\nTitanium.Map.Annotation - setSubtitleid\r\nTitanium.Map.Annotation - getTitle\r\nTitanium.Map.Annotation - setTitle\r\nTitanium.Map.Annotation - getTitleid\r\nTitanium.Map.Annotation - setTitleid\r\nTitanium.Map.View - setCamera\r\nTitanium.Map.View - setAnnotations\r\nTitanium.Map.View - setAnimate\r\nTitanium.Map.View - setCompassEnabled\r\nTitanium.Map.View - setEnableZoomControls\r\nTitanium.Map.View - setMapType\r\nTitanium.Map.View - setPitchEnabled\r\nTitanium.Map.View - setRegion\r\nTitanium.Map.View - setRotateEnabled\r\nTitanium.Map.View - setShowsBuildings\r\nTitanium.Map.View - setShowsPointsOfInterest\r\nTitanium.Map.View - setTraffic\r\nTitanium.Map.View - setUserLocation\r\nTitanium.Map.View - setUserLocationButton\r\nTitanium.Map.View - setZOrderOnTop\r\nTitanium.Network.Socket.UDP - getPort\r\nTitanium.Network.Socket.UDP - setPort\r\nTitanium.Network.Socket.UDP - getStarted\r\nTitanium.Network.Socket.UDP - setStarted\r\nTitanium.Network.Socket.UDP - getData\r\nTitanium.Network.Socket.UDP - setData\r\nTitanium.Network.Socket.UDP - getError\r\nTitanium.Network.Socket.UDP - setError\r\n{code}", "attachment": [], "flagged": false, "summary": "TiAPI: Investigate false reports of setter/getter deprecation", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": null, "comment": { "comments": [ { "id": "450349", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I'm looking into it. The details do not say whether this occurs on Android or iOS, so it's hard to tell the exact issue in the customer's case.\r\n\r\nI suspect this is an iOS-only issue for the Ti.Map scenario outlined.\r\n", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-08-08T15:24:26.000+0000", "updated": "2019-08-08T15:24:26.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }