Results 1 to 6 of 6

Thread: Deprecation warnings in console

    Success! Looks like we've fixed this one. According to our records the fix was applied for INS-163 in BETA.
  1. #1
    Sencha Premium Member
    Join Date
    Apr 2011
    Location
    Chicago, IL
    Posts
    83
    Answers
    3

    Default Answered: Deprecation warnings in console

    When I connect Inspector to a Sencha Touch 2.3 app, I immediately see 217 of these errors in the console:

    Code:
    "[DEPRECATE][Anonymous] 'ownerCt' is deprecated, please use 'parent' instead"
    Each time I select a component from Inspector's tree view to highlight it in the browser, I get one of these warnings in the console:

    Code:
    [Warning] [DEPRECATE][Anonymous] 'el' is deprecated, please use 'element' instead (Console.js, line 35)
    I get these warnings in the console for both Chrome and Safari.

  2. I have this fixed in the upcoming beta release.

  3. #2
    Sencha Developer
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,516
    Answers
    99

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  4. #3
    Sencha Developer
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,516
    Answers
    99

    Default

    Quote Originally Posted by ccg View Post
    When I connect Inspector to a Sencha Touch 2.3 app, I immediately see 217 of these errors in the console:

    Code:
    "[DEPRECATE][Anonymous] 'ownerCt' is deprecated, please use 'parent' instead"
    Each time I select a component from Inspector's tree view to highlight it in the browser, I get one of these warnings in the console:

    Code:
    [Warning] [DEPRECATE][Anonymous] 'el' is deprecated, please use 'element' instead (Console.js, line 35)
    I get these warnings in the console for both Chrome and Safari.
    Are you looking at an app that is publicly viewable? I'd love to take a look, because using the Touch Kitchen Sink I don't see either of these warnings:
    - http://docs.sencha.com/touch/2.3.1/t...ink/index.html

    Note: we don't actually consider 2.3 "supported", though it does appear to work quite well.

    Even using the 2.4.2 Kitchen Sink, I don't see the warnings:
    - http://docs.sencha.com/touch/2.4/2.4...ink/index.html

  5. #4
    Sencha Premium Member
    Join Date
    Apr 2011
    Location
    Chicago, IL
    Posts
    83
    Answers
    3

    Default

    Quote Originally Posted by arthurakay View Post
    Are you looking at an app that is publicly viewable? I'd love to take a look, because using the Touch Kitchen Sink I don't see either of these warnings:
    - http://docs.sencha.com/touch/2.3.1/t...ink/index.html

    Note: we don't actually consider 2.3 "supported", though it does appear to work quite well.
    The docs claim Touch 2.1+ is supported. (http://docs.sencha.com/tools/sencha_...ion_setup.html)

    I'll try to extract a test case to share (the app in question is not public).
    Last edited by ccg; 21 Jul 2015 at 7:45 AM. Reason: I misread the docs.

  6. #5
    Sencha Developer
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,516
    Answers
    99

    Default

    LOL yes, in fact we do support 2.1.0+... brain fart.

    Yes if you could get me a reproducible test case for those warnings, it would be awesome. Thanks!

  7. #6
    Sencha Developer
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,516
    Answers
    99

    Default

    I have this fixed in the upcoming beta release.

Similar Threads

  1. Replies: 1
    Last Post: 18 Jun 2015, 1:17 PM
  2. [FIXED] Warnings in console from basic app generated by cmd
    By bone in forum Ext 5: Bugs
    Replies: 1
    Last Post: 4 Apr 2014, 3:52 AM
  3. Replies: 1
    Last Post: 1 May 2012, 7:39 AM
  4. [NOREPRO] [4.1-(b(1|2|3)|rc1)] Sass >= 3.1.8 Deprecation Warnings
    By mystix in forum Ext:Bugs
    Replies: 8
    Last Post: 4 Apr 2012, 7:42 AM
  5. Replies: 1
    Last Post: 16 Jan 2012, 7:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •