Wicket
  1. Wicket
  2. WICKET-5251

Minified name resolves incorrectly if default resource reference is used

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.8.0
    • Fix Version/s: 6.10.0, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      In PackageResourceReference.

      When a default reference to a minified resource is used (i.e. the resource wasn't mounted) the resource reference name includes '.min'.

      When trying to resolve the minified name, another '.min' is appended, resulting in the minified name resolving to 'html5.min.min.js'.

      As a result, the PackageResourceReference concludes that the resource was not minified, and adds compression.

        Activity

        Johannes Odland created issue -
        Johannes Odland made changes -
        Field Original Value New Value
        Summary Minified name resolves incorrectly if deault resource reference is used Minified name resolves incorrectly if default resource reference is used
        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Martin Grigorov [ mgrigorov ]
        Fix Version/s 6.9.0 [ 12324357 ]
        Fix Version/s 7.0.0 [ 12322958 ]
        Resolution Fixed [ 1 ]
        Martin Grigorov made changes -
        Fix Version/s 6.10.0 [ 12324643 ]
        Fix Version/s 6.9.0 [ 12324357 ]

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Johannes Odland
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development