#24007Workspace Draft Records are shown in Live Workspace in some cases
Description
If you create a new record in a draft workspace and don’t swap or publish it, it is shown in the live workspace as well.
This problem only occurs in some rare cases if you use a Extbase extension which works with setRespectStoragePage(false) or if you make use enableFields in your SQL query in the frontend to fetch records and you don’t use a PID check.
This happens because the class.t3lib_page.php doesn’t filter out records with the pid -1
Patch adds the check for the pid != -1 to filter out these records
(issue imported from #M16335)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.