Uploaded image for project: 'Lesson Builder'
  1. Lesson Builder
  2. LSNBLDR-759

Version all JS/CSS loaded from the lessons tool

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.2
    • Fix Version/s: 12.0 [Tentative]
    • Component/s: impl
    • Labels:
    • 11 status:
      Merge
    • Test Plan:
      Hide

      1. Go to the Polls and Evaluations and Lessons tools for a site and find some javascript and/or css in the tools and it should have 'version=XXXXXX' at the end on the URL.

      Show
      1. Go to the Polls and Evaluations and Lessons tools for a site and find some javascript and/or css in the tools and it should have 'version=XXXXXX' at the end on the URL.

      Description

      Currently the lessons tool always serves it's CSS/JS from the same URL, although this should now only be cached for an hour it would be good if it appended a version to all it's URLs so that on a new build all the old files become invalidated.

      The portal currently does this and uses the sakai.properties of portal.cdn.version which we should probably re-use. When we do this we should also change how we automatically calculate this string in our docker startup files as currently it's just based on the SHA1 of the library.war and the lessons files aren't in there.

      The value should automatically change for each new build but must always be the same across the cluster.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nickwilson Nick Wilson
                Reporter:
                nickwilson Nick Wilson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code