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

Version all JS/CSS loaded from the lessons tool


    • 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:
    • Test Plan:
      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.


      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




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


                • Created:

                  Git Source Code