Wicket
  1. Wicket
  2. WICKET-3675

Usage of JavaScriptCompressor by resources other than PackageTextTemplates is lost!

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5-M1, 1.5-M2.1, 1.5-M3, 1.5-RC1, 1.5-RC2, 1.5-RC3, 1.5-RC4
    • Fix Version/s: 1.5-RC5
    • Component/s: wicket

      Description

      With the refactoring of ResourceReferences, Resources and ResourceStreams it seems that the JavaScriptCompressor is no longer used for resources other than a PackageTextTemplate. In Wicket 1.4 it used to be in JavascriptPackageResource but seeing as this class is gone the JavaScriptCompressor is no longer used.

      There should be either a subclass of PackageResource which uses the JavaScriptCompressor or a way to intercept the length and the bytes which are written to the stream in PackageResource line 327.

        Activity

        Martin Grigorov made changes -
        Fix Version/s 1.5-RC5 [ 12316423 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Martin Grigorov made changes -
        Priority Critical [ 2 ] Major [ 3 ]
        Martin Grigorov made changes -
        Field Original Value New Value
        Assignee Martin Grigorov [ mgrigorov ]
        Hielke Hoeve created issue -

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Hielke Hoeve
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development