Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26844

TiAPI: Investigate false reports of setter/getter deprecation

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Description

      We'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)

      Titanium.Android.Activity - setRequestedOrientation
      Titanium.Android.Intent - getData
      Titanium.Android.MenuItem - setCheckable
      Titanium.Android.MenuItem - setChecked
      Titanium.Android.MenuItem - setEnabled
      Titanium.Android.MenuItem - setVisible
      Titanium.Media.AudioPlayer - getPaused
      Titanium.Media.AudioPlayer - getPlaying
      Titanium.Media.Sound - setLooping
      Titanium.Media.Sound - setPaused
      Titanium.Network.HTTPClient - setTimeout
      Titanium.UI.ListSection - setItems
      Titanium.UI.Picker - setValue
      Titanium.UI.ScrollView - setZoomScale
      Titanium.UI.SearchBar - setShowCancel
      Titanium.UI.Slider - setValue
      Titanium.UI.Tab - setWindow
      Titanium.UI.TabGroup - setToolbar
      Titanium.UI.TabGroup - getActiveTab
      Titanium.UI.TabGroup - setActiveTab
      Titanium.UI.TabGroup - getTabs
      Titanium.UI.TableView - setData
      Titanium.UI.TableView - setHeaderPullView
      Titanium.UI.TextArea - setSelection
      Titanium.UI.TextField - setSelection
      Titanium.UI.WebView - setHtml
      Titanium.UI.Window - setToolbar
      Titanium.UI.iOS.SplitWindow - setToolbar
      Titanium.UI.iOS.SplitWindow - setShowMasterInPortrait
      Titanium.UI.iOS.SplitWindow - setMasterIsOverlayed
      Titanium.UI.iPad.SplitWindow - setToolbar
      Titanium.Map.Annotation - getCanShowCallout
      Titanium.Map.Annotation - setCanShowCallout
      Titanium.Map.Annotation - getCenterOffset
      Titanium.Map.Annotation - setCenterOffset
      Titanium.Map.Annotation - getCustomView
      Titanium.Map.Annotation - setCustomView
      Titanium.Map.Annotation - getDraggable
      Titanium.Map.Annotation - setDraggable
      Titanium.Map.Annotation - getImage
      Titanium.Map.Annotation - setImage
      Titanium.Map.Annotation - getLatitude
      Titanium.Map.Annotation - setLatitude
      Titanium.Map.Annotation - getLeftButton
      Titanium.Map.Annotation - setLeftButton
      Titanium.Map.Annotation - getLeftView
      Titanium.Map.Annotation - setLeftView
      Titanium.Map.Annotation - getLongitude
      Titanium.Map.Annotation - setLongitude
      Titanium.Map.Annotation - getPincolor
      Titanium.Map.Annotation - setPincolor
      Titanium.Map.Annotation - getRightButton
      Titanium.Map.Annotation - setRightButton
      Titanium.Map.Annotation - getRightView
      Titanium.Map.Annotation - setRightView
      Titanium.Map.Annotation - getSubtitle
      Titanium.Map.Annotation - setSubtitle
      Titanium.Map.Annotation - getSubtitleid
      Titanium.Map.Annotation - setSubtitleid
      Titanium.Map.Annotation - getTitle
      Titanium.Map.Annotation - setTitle
      Titanium.Map.Annotation - getTitleid
      Titanium.Map.Annotation - setTitleid
      Titanium.Map.View - setCamera
      Titanium.Map.View - setAnnotations
      Titanium.Map.View - setAnimate
      Titanium.Map.View - setCompassEnabled
      Titanium.Map.View - setEnableZoomControls
      Titanium.Map.View - setMapType
      Titanium.Map.View - setPitchEnabled
      Titanium.Map.View - setRegion
      Titanium.Map.View - setRotateEnabled
      Titanium.Map.View - setShowsBuildings
      Titanium.Map.View - setShowsPointsOfInterest
      Titanium.Map.View - setTraffic
      Titanium.Map.View - setUserLocation
      Titanium.Map.View - setUserLocationButton
      Titanium.Map.View - setZOrderOnTop
      Titanium.Network.Socket.UDP - getPort
      Titanium.Network.Socket.UDP - setPort
      Titanium.Network.Socket.UDP - getStarted
      Titanium.Network.Socket.UDP - setStarted
      Titanium.Network.Socket.UDP - getData
      Titanium.Network.Socket.UDP - setData
      Titanium.Network.Socket.UDP - getError
      Titanium.Network.Socket.UDP - setError
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                eharris Ewan Harris
              • Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-21050
                    Sync status:
                    PENDING
                    Last received:
                    Last sent:

                    Git Integration