Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    Pennsyvania, USA
    Posts
    232
    Vote Rating
    0
    fzammetti is on a distinguished road

      0  

    Default [FIXED][3.0svn] Error in latest SVN code

    [FIXED][3.0svn] Error in latest SVN code


    Hi guys... just updated from SVN a few minutes ago (3:15pm EST) and seeing an error when switching to a tab that loads remote data... from Firebug:

    Code:
    this.api is undefined
    ext-all-debug.js Line 20069:
    if (!this.api[action]) {
    No code changes to the application, so reverted to v3 code from SVN from some time on Monday and the error went away. I didn't dig into it at all, pretty busy today, but wanted to point it out ASAP.
    Frank W. Zammetti
    Author of "Practical Palm Pre webOS Projects"
    and "Practical Ext JS Projects with Gears"
    and "Practical Dojo Projects"
    and "Practical DWR 2 Projects"
    and "Practical JavaScript, DOM Scripting and Ajax Projects"
    and "Practical Ajax Projects with Java Technology"
    (For info: apress.com/book/search?searchterm=zammetti&act=search)
    All you could possibly want is here: zammetti.com

  2. #2
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Your title should probably have "this.api is undefined" in it. If you check the svn updates over last few days you can see several changes were made BTW (several changes in this area).

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    Pennsyvania, USA
    Posts
    232
    Vote Rating
    0
    fzammetti is on a distinguished road

      0  

    Default


    Yeah, fair point about the title. If some moderator wants to make that change I certainly don't object, doesn't seem to be something I can do though.

    I can't say for sure when the breakage was introduced because I've been on assignment the past two days and haven't updated from SVN since Monday before today, so it could have happened any time between Monday afternoon and today.
    Frank W. Zammetti
    Author of "Practical Palm Pre webOS Projects"
    and "Practical Ext JS Projects with Gears"
    and "Practical Dojo Projects"
    and "Practical DWR 2 Projects"
    and "Practical JavaScript, DOM Scripting and Ajax Projects"
    and "Practical Ajax Projects with Java Technology"
    (For info: apress.com/book/search?searchterm=zammetti&act=search)
    All you could possibly want is here: zammetti.com

  4. #4
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    FYI if you edit your first post, go advanced, you can edit the title, delete the thread, etc.

  5. #5
    Ext JS Premium Member christocracy's Avatar
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    381
    Vote Rating
    0
    christocracy is on a distinguished road

      0  

    Default


    Frank, the load method has been reintroduced into the DataProxy. However, it has been deprecated and if you are using a custom proxy, you'll have to update the class to implement doRequest.
    /**
    * @author Chris Scott
    * @business www.transistorsoft.com
    * @rate $150USD / hr; training $500USD / day / developer (5 dev min)
    *
    * @SenchaDevs http://senchadevs.com/developers/transistor-software
    * @twitter http://twitter.com/#!/christocracy
    * @github https://github.com/christocracy
    */

  6. #6
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    Pennsyvania, USA
    Posts
    232
    Vote Rating
    0
    fzammetti is on a distinguished road

      0  

    Default


    Thanks Chris, that change was already made based on a previous issue I had found. I see this is marked as fixed, so I'll go grab the latest and see if we're good to go... if you don't hear back from me in a few minutes you can assume this issue is no more

    Thanks for the tip MJ, I missed that option, good to know for sure.
    Frank W. Zammetti
    Author of "Practical Palm Pre webOS Projects"
    and "Practical Ext JS Projects with Gears"
    and "Practical Dojo Projects"
    and "Practical DWR 2 Projects"
    and "Practical JavaScript, DOM Scripting and Ajax Projects"
    and "Practical Ajax Projects with Java Technology"
    (For info: apress.com/book/search?searchterm=zammetti&act=search)
    All you could possibly want is here: zammetti.com

Thread Participants: 2