-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #6696 Fix an edge-case about pretty URLs and cache warm up (javie…
…reguiluz) This PR was merged into the 4.x branch. Discussion ---------- Fix an edge-case about pretty URLs and cache warm up Fixes #6680. Thanks to the debugging information provided in #6680 I could implement this solution. The first change is that we no longer use `Route` options but defaults, because defaults are mapped to `Request` attributes and the options are not available unless you instantiate the `Route` object, which is not possible in our scenario. This change simplifies code a bit. The other change, and the real solution of the reported error, is that we know regenerate the admin route cache if we know that the backend uses pretty URLs but the cache doesn't contain the admin routes. Commits ------- 3fdfe9e Fix an edge-case about pretty URLs and cache warm up
- Loading branch information
Showing
3 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters