Opened 8 years ago
Closed 8 years ago
#40018 closed defect (bug) (fixed)
Customize: Selective refresh always falls back to full refreshes when customizing the 404 template
Reported by: | westonruter | Owned by: | westonruter |
---|---|---|---|
Milestone: | 4.7.4 | Priority: | normal |
Severity: | normal | Version: | 4.5 |
Component: | Customize | Keywords: | has-patch commit fixed-major |
Focuses: | Cc: |
Description
When a partial refresh request is made, if the response has an error code the partial will invoke its fall back behavior, normally resulting in a full refresh. A 404 status is considered an error code by the selective refresh JS, and so this means that attempting selective refresh on the 404 template will currently always result in the fallback behavior ensuing.
Attachments (1)
Change History (8)
This ticket was mentioned in Slack in #core by swissspidy. View the logs.
8 years ago
This ticket was mentioned in Slack in #core by swissspidy. View the logs.
8 years ago
Note: See
TracTickets for help on using
tickets.
The fix is simply to override any existing HTTP status with
200
in the handler for partial refresh requests. See 40018.diff.