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

external js packages need to be loaded syncrhonously instead of async

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.1
    • Component/s: JavaScript
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: