Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-5662

fluid.fetchResources stalls if defaultLocale and locale are identical, and forceCache option is supplied

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9
    • Component/s: Framework
    • Labels:
      None

      Description

      Reported in #fluid-work at https://botbot.me/freenode/fluid-work/2015-05-06/?msg=38471885&page=1

      The issue is that our "cache" only caches successes, not failures - therefore a request which fails, but which is requested from the cache, will never have its callback notified. Setting defaultLocale and locale to the same value can expose this bug, since it enters two requests into the collection which are for the same URL, but which is not present.

        Attachments

          Activity

            People

            Assignee:
            antranig Antranig Basman
            Reporter:
            antranig Antranig Basman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: