Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1119

external js packages need to be loaded syncrhonously instead of async

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.1.1
    • 4.1.1
    • JavaScript
    • None
    • browser

    Description

      Andreas pointed out a flaw in the current system. When loading external js packages found in an ajax response we need to load them synchronously instead of async (the current method) because of the possibility of not having a package loaded that the ajax response javascript code relies on..

      A better approach would be to use dojo.hostenv.loadUri if possible. The js package responses should still be correctly cachable this way and may actually ultimately lead to faster processing times.

      Should also check to see if css includes in responses are being handled equally well.

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            jkuhnert Jesse Kuhnert
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: