Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4732

CssPackageResource doesn't work if the extension isn't css

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8
    • Fix Version/s: 6.1.0, 1.5.9
    • Component/s: wicket
    • Labels:
      None

      Description

      CssPackageResource#processResponse is never called if the extension isn't css. It works for .css because PackageResourceReference#getResource checks if the extension is css and then creates a CssPackageResource. For anything else than .css/.js a PackageResource is created.

      Actually the overridden processResponse method in CssPackageResource (instead of PackageResource) should get called, but ResourceReferenceRegistry#createDefaultResourceReference installs a plain PackageResource which gets called later.

        Attachments

        1. wicket-4732.tgz
          21 kB
          Martin Grigorov
        2. wicket-4732.zip
          20 kB
          Christoph Leiter

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              cleiter Christoph Leiter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: