#87759Record preview fails when the record is disabled or before starttime because of routing
Description
If I configure a preview button for a record leading to a routed detailpage the preview fails when the record is disabled or hidden by starttime.
It seems routing is unable to fetch the records slug because of a query restriction, this leads the preview running into a 404 error.
Greetings
Daniel
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Record preview fails when the record is disabled or before starttime because of routing Resolves: #87759 Releases: main