Tapestry
  1. Tapestry
  2. TAPESTRY-1119

external js packages need to be loaded syncrhonously instead of async

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical 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.

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567919 ] jira [ 12591044 ]
        Mark Thomas made changes -
        Workflow jira [ 12387016 ] Default workflow, editable Closed status [ 12567919 ]
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jesse Kuhnert created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development