FLUID-2934: Requesting a blank page via fluid.fetchResources triggers an infinite http request loop

Metadata

Source
FLUID-2934
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Jen Bourey
Created
2009-06-09T13:31:59.000-0400
Updated
2009-08-07T09:38:11.000-0400
Versions
  1. 1.0
  2. 1.1
Fixed Versions
  1. 1.1.1
  2. 1.2
Component
  1. Framework

Description

Requesting a page which returns an HTML code of "200 OK" with no content causes the fluid.fetchResources method to repeatedly request the blank page for what appears to be an infinite number of attempts. To replicate this problem, create a blank file (perhaps via "touch foo.html"), then execute the following code:

var resources = {
testPage: { href: 'foo.html' }
};
fluid.fetchResources(resources, function(){ console.log('function called'); });

Comments

  • Antranig Basman commented 2009-06-12T19:41:18.000-0400

    Fixed at revision 7350

  • Justin Obara commented 2009-07-28T14:46:46.000-0400

    Bug Parade 1.1.1 release

  • Antranig Basman commented 2009-08-04T16:46:22.000-0400

    Backported to 1.1.x branch at revision 7708

  • Justin Obara commented 2009-08-06T16:05:47.000-0400

    backport appears identical to the trunk version