Description
Introduced with the fix for WICKET-6094.
ResourceMapper.getCompatibilityScore now returns the score of AbstractBookmarkableMapper.getCompatibilityScore minus 1. Unfortunately AbstractBookmarkableMapper.getCompatibilityScore does not remove any caching decoration from the request url and will always return 0. So the score for the ResourceMapper that should handle the request is -1, and e.g. the HomePageMapper with a score of 0 will handle the request.
Example:
GET http://localhost/stylesheet.css -> stylesheet
GET http://localhost/stylesheet-ver-xxxx.css -> homepage
Somehow ResourceMapper.removeCachingDecoration should be used during getCompatibilityScore.
Attachments
Attachments
Issue Links
- is broken by
-
WICKET-6094 Find adequate ResourceReference with mount parameters
- Resolved