Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1861

Some features need to take advantage of all tags to avoid reading js files multiple times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.0, 2.5.0-beta5
    • None
    • None

    Description

      Some feature XMLs do not properly leverage the all tag in order to avoid loading javascript files multiple times when the Feature registry is populated. The ones that we can fix are listed below.

      The Feature Registry reads a javascript file multiple times if the feature.xml includes it multiple times, such as in container and gadget sections.    The following files are being read multiple times according to the procmon IO Trace

      features/core.json
      features/exportjs
      features/gadgets.json.ext
      features/shindig.uri.ext

      Two of the features

      features/osapi/
      features-extras/org.openajax.hub-2.0.5

      have situations where specific files are needed by the gadget and / or the container so they cannot leverage the all tag

      Attachments

        1. issue-1861.patch
          3 kB
          Ryan Baxter

        Activity

          People

            rbaxter Ryan Baxter
            rbaxter Ryan Baxter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: