Results 1 to 1 of 1

Thread: Resolving Google Feeds API Load Failure

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha - Sustaining Engineer tristan.lee's Avatar
    Join Date
    Mar 2015
    Location
    Central Ohio
    Posts
    1,577
    Vote Rating
    81
      1  

    Default Resolving Google Feeds API Load Failure

    Google Feeds API Load Failure
    As of December 15, 2016, Google has shutdown its Feeds API service. This API was used by some example code in Ext JS 5 and higher. If applications attempt to use this code, they will fail to load with the following error:

    Module: 'feeds' not found!

    Solution

    The example code is contained the the Ext.ux.google.Feeds class. For applications that do not actually make use of this code, disabling the offending class using the following steps will resolve the load failure.

    For applications that make use of the RSS feeds that were previously served by this API, Sencha will issue more information shortly, but there are some alternatives on the market you can research.

    For all 6.2.x builds:


    Ext.ux.google.* is included in /packages/google/src/google and does not affect the built framework under /build/.

    In order for a 6.2.x app to be affected, that application would need to include one of the built package files (/build/packages/google/{classic|modern}/google[-debug].js).

    To disable the offending code:


    • Search in build/packages/google/classic/google.js for this string “requiresGoogle:”



      • Make sure to add the _ to requiresGoogle.
      • Repeat for build/packages/google/modern/google.js

    • Search in build/packages/google/classic/google-debug.js for this string “requiresGoogle:”

      • Make sure to add the _ to requiresGoogle.
      • Repeat for build/packages/google/modern/google-debug.js

    For all 6.0.x builds:

    Ext.ux.google.* is included in /packages/ux/src/google and does not affect the built framework under /build/.

    In order for a 6.0.x app to be affected, that application would need to include one of the built package files (/build/packages/ux/{classic|modern}/ux[-debug].js).

    To remove the offending code:

    • Search in build/packages/ux/classic/ux.js for this string “requiresGoogle:”
      • Make sure you add the underscore to requiresGoogle
      • Repeat for build/packages/ux/modern/ux.js

    • Search in build/packages/ux/classic/ux-debug.js for the string “requiresGoogle:”
      • Make sure you add the underscore to requiresGoogle
      • Repeat for build/packages/ux/modern/ux-debug.js


    For all 5.x builds

    Ext.ux.google.* is found in /examples/ux/google and does not affect the built framework under /build/.

    In order for a 5.x app the be affected, /examples/ux/google/Feeds.js would need to either be referenced in a <script> tag or include via the Loader and then required. Example:

    Ext.Loader.setPath('ux','examples/ux');
    Ext.require('Ext.ux.*');

    To remove the load failure you can stop requiring the offend class or:


    • Modify source file /examples/ux/google/Feeds.js
    • Rename variable requiresGoogle to _requiresGoogle (leading underscore)
    Attached Files Attached Files
    Tristan Lee
    Sencha Inc - Sustaining Engineer


    Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (fiddle.sencha.com)

    Embed your fiddle in your post: [FIDDLE]id[/FIDDLE]

Similar Threads

  1. Resolving Google Feeds API Load Failure
    By tristan.lee in forum Ext 6: Bugs
    Replies: 0
    Last Post: 12 Jan 2017, 9:12 AM
  2. form load() always return failure
    By Alexei Ptitchkin in forum Ext: Q&A
    Replies: 6
    Last Post: 3 Oct 2012, 9:40 AM
  3. Replies: 1
    Last Post: 12 Jun 2012, 2:42 PM
  4. Chromium's wonky google gears support causes Sencha failure
    By jep in forum Sencha Touch 1.x: Bugs
    Replies: 0
    Last Post: 4 May 2011, 1:07 PM
  5. form.load() is going to failure
    By dhanek in forum Ext 1.x: Help & Discussion
    Replies: 12
    Last Post: 20 Sep 2007, 10:49 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
  •