{"data":{"id":"magento2-39746","source":"github-pr","sourceRef":"magento/magento2#39746","title":"\"The CMS page with the \"0\" ID doesn't exist\" log flood","pr":{"number":39746,"url":"https://github.com/magento/magento2/pull/39746","author":"Mohamed-Asar","mergedAt":"2025-06-26T11:02:14Z","mergeCommit":"6a80d57264ae6a0e366f6eedd133e8cc895b648e","headCommit":"aaf1c992a91436e1fb526ad99b5033717a3a6794","baseRef":"2.4-develop","diffSha256":"90d527009e6d6969b85603afce22d984d59637082227a8c80675415ab262149e"},"issues":[{"number":39743,"url":"https://github.com/magento/magento2/issues/39743","title":"\"The CMS page with the \"0\" ID doesn't exist\" log flood","labels":["Area: Content / CMS","Component: Cms","Issue: Confirmed","Priority: P2","Progress: done","Reported on 2.4.6-p9","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":"2.4.6-p9","codeMatch":{"2.4.6":"conflict","2.4.6-p1":"conflict","2.4.6-p2":"conflict","2.4.6-p3":"conflict","2.4.6-p4":"conflict","2.4.6-p5":"conflict","2.4.6-p6":"conflict","2.4.6-p7":"conflict","2.4.6-p8":"conflict","2.4.6-p9":"conflict","2.4.6-p10":"conflict","2.4.6-p11":"conflict","2.4.6-p12":"conflict","2.4.6-p13":"conflict","2.4.6-p14":"conflict","2.4.6-p15":"conflict","2.4.7":"conflict","2.4.7-p1":"conflict","2.4.7-p2":"conflict","2.4.7-p3":"conflict","2.4.7-p4":"conflict","2.4.7-p5":"conflict","2.4.7-p6":"conflict","2.4.7-p7":"conflict","2.4.7-p8":"conflict","2.4.7-p9":"conflict","2.4.7-p10":"conflict","2.4.8":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"conflict"},"affectedVersions":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/module-cms"],"files":[{"path":"app/code/Magento/Cms/Model/Page/DataProvider.php","change":"modified","package":"magento/module-cms"},{"path":"app/code/Magento/Cms/Model/Page/Service/PageService.php","change":"added","package":"magento/module-cms"}],"stripped":{"tests":["app/code/Magento/Cms/Test/Unit/Model/Page/Service/PageServiceTest.php"],"docs":[],"outsideCode":[]},"linesChanged":124,"mergeBatched":false,"excluded":null,"sections":{"description":"- `system.log` contains `main.ERROR: The CMS page with the \"0\" ID doesn't exist. [] []`","stepsToReproduce":"1. Create admin user\n2. Open BO->Content->Pages->Add New Page","expectedResult":"- `system.log` is empty","actualResult":"- `system.log` contains `main.ERROR: The CMS page with the \"0\" ID doesn't exist. [] []`","source":"issue"},"signatures":[],"labels":{"area":["Content / CMS"],"component":["Cms"],"priority":"P2","severity":null,"reportedOn":["2.4.6-p9"]},"categories":["Content"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"b0f32a63fa1ec4ea4da483b5b8ceed614421a7ef4938b49defecd0ce7f20d1be","isBugfix":0.9553,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9127,"feature":0.0106,"refactor":0.0457,"tests_only":0.0073,"docs_only":0.0037,"dependency":0.0035,"cleanup":0.0165},"confidence":0.8082},"scope":{"score":1.3637,"probabilities":{"0":0.1391,"1":0.358,"2":0.5029},"confidence":0.1006},"risk":{"score":0.4708,"probabilities":{"0":0.557,"1":0.4152,"2":0.0278},"confidence":0.2251},"area":{"choice":"admin","probabilities":{"catalog":0.018,"checkout":0.0103,"customer":0.012,"admin":0.8121,"graphql_api":0.0169,"framework":0.0277,"frontend":0.0303,"other":0.0727},"confidence":0.6199},"securityRelevant":0.0065,"reportedVersion":{"choice":"2.4.6-p9","probabilities":{"2.4.0":0.0014,"2.4.0-p1":0.0015,"2.4.1":0.0015,"2.4.1-p1":0.0015,"2.4.2":0.0015,"2.4.2-p1":0.0018,"2.4.2-p2":0.0018,"2.4.3":0.0017,"2.4.3-p1":0.0019,"2.4.3-p2":0.0022,"2.4.3-p3":0.0019,"2.4.4":0.0019,"2.4.4-p1":0.0017,"2.4.4-p10":0.0023,"2.4.4-p11":0.0024,"2.4.4-p12":0.002,"2.4.4-p13":0.0023,"2.4.4-p14":0.0025,"2.4.4-p15":0.0023,"2.4.4-p16":0.0021,"2.4.4-p17":0.0019,"2.4.4-p18":0.0019,"2.4.4-p2":0.0015,"2.4.4-p3":0.0015,"2.4.4-p4":0.0015,"2.4.4-p5":0.0018,"2.4.4-p6":0.0021,"2.4.4-p7":0.002,"2.4.4-p8":0.0025,"2.4.4-p9":0.0026,"2.4.5":0.0035,"2.4.5-p1":0.0026,"2.4.5-p10":0.0054,"2.4.5-p11":0.3453,"2.4.5-p12":0.0031,"2.4.5-p13":0.0033,"2.4.5-p14":0.0029,"2.4.5-p15":0.0022,"2.4.5-p16":0.0024,"2.4.5-p17":0.0021,"2.4.5-p2":0.0015,"2.4.5-p3":0.002,"2.4.5-p4":0.0022,"2.4.5-p5":0.0024,"2.4.5-p6":0.0028,"2.4.5-p7":0.003,"2.4.5-p8":0.0034,"2.4.5-p9":0.0029,"2.4.6":0.0138,"2.4.6-p1":0.0023,"2.4.6-p10":0.0057,"2.4.6-p11":0.0071,"2.4.6-p12":0.0026,"2.4.6-p13":0.002,"2.4.6-p14":0.0016,"2.4.6-p15":0.0017,"2.4.6-p2":0.0016,"2.4.6-p3":0.0027,"2.4.6-p4":0.0036,"2.4.6-p5":0.0034,"2.4.6-p6":0.0068,"2.4.6-p7":0.0088,"2.4.6-p8":0.0377,"2.4.6-p9":0.3894,"2.4.7":0.0024,"2.4.7-p1":0.003,"2.4.7-p10":0.0023,"2.4.7-p2":0.0023,"2.4.7-p3":0.0031,"2.4.7-p4":0.0035,"2.4.7-p5":0.0031,"2.4.7-p6":0.0032,"2.4.7-p7":0.0031,"2.4.7-p8":0.0025,"2.4.7-p9":0.0021,"2.4.8":0.0031,"2.4.8-p1":0.0024,"2.4.8-p2":0.0031,"2.4.8-p3":0.0036,"2.4.8-p4":0.0033,"2.4.8-p5":0.004,"2.4.9":0.003,"unspecified":0.0056},"confidence":0.2644},"backportWorthy":{"score":1.4045,"probabilities":{"0":0.1755,"1":0.2445,"2":0.58},"confidence":0.1405}},"curated":{"title":"Opening Add New Page in the admin logs a CMS page with the 0 ID error","description":"In the admin, Content > Pages > Add New Page logs main.ERROR: The CMS page with the \"0\" ID doesn't exist to system.log, as DataProvider::getMeta gets the page by ID with no page ID. DataProvider now gets the existing page data and its custom layout files only on the edit page, when a page ID is set, using a new PageService class.","categories":["Content"],"author":"claude-code/opus-5.5","date":"2026-10-07","reviewedBy":null},"tests":{"2.4.8-p5":{"before":"not-runnable","after":"pass","adapted":false,"runAt":"2026-10-06T09:20:12.910Z","releaseCommit":"870a22c63d9d9b68fa3297962e2d5d5841115814","suites":{"unit":{"before":"not-runnable","after":"pass","runAt":"2026-10-06T09:20:12.910Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-39746 details"}