{"data":{"id":"magento2-39799","source":"github-pr","sourceRef":"magento/magento2#39799","title":"improve error handling SchemaBuilder","pr":{"number":39799,"url":"https://github.com/magento/magento2/pull/39799","author":"Genaker","mergedAt":"2025-07-04T11:31:48Z","mergeCommit":"38c3086baffa67aa3d1975c25de8a1807905c1b8","headCommit":"eb0fb3359d2d6b3454642e40eb5ce67d6a6a5f1b","baseRef":"2.4-develop","diffSha256":"f7a229cc83f7c54cf7ff54396d7bba5843c14c648b925a7fec919ac1d33c2b21"},"issues":[{"number":39816,"url":"https://github.com/magento/magento2/issues/39816","title":"[Issue] improve error handling SchemaBuilder","labels":["Area: Framework","Component: Framework/Setup","Issue: Confirmed","Priority: P3","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x","Triage: Dev.Experience"],"kind":"pr-derived"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":null,"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":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","2.4.9":"conflict"},"affectedVersions":[],"components":["magento/framework"],"files":[{"path":"lib/internal/Magento/Framework/Setup/Declaration/Schema/Db/SchemaBuilder.php","change":"modified","package":"magento/framework"}],"stripped":{"tests":["lib/internal/Magento/Framework/Setup/Test/Unit/Declaration/Schema/Db/SchemaBuilderTest.php"],"docs":[],"outsideCode":[]},"linesChanged":37,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":["```Warning: Undefined array key \"type\" in ```","```Warning: Undefined array key \"type\" in Error processing table catalog_eav_attribute column is_used_in_autocomplete```"],"labels":{"area":["Framework"],"component":["Framework/Setup"],"priority":"P3","severity":null,"reportedOn":["2.4.x"]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"1e85ea8baae1be56aab3bf74aa89602f2ab50bcf266dcc2ce9db5b229886f992","isBugfix":0.7677,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8422,"feature":0.034,"refactor":0.09,"tests_only":0.0152,"docs_only":0.0099,"dependency":0.0087},"confidence":0.6628},"scope":{"score":0.8365,"probabilities":{"0":0.3138,"1":0.536,"2":0.1502},"confidence":0.1125},"risk":{"score":0.2454,"probabilities":{"0":0.8043,"1":0.146,"2":0.0497},"confidence":0.506},"area":{"choice":"framework","probabilities":{"catalog":0.0256,"checkout":0.0073,"customer":0.0058,"admin":0.0197,"graphql_api":0.0057,"framework":0.9146,"frontend":0.0081,"other":0.0132},"confidence":0.8148},"securityRelevant":0.0062,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0037,"2.4.0-p1":0.0043,"2.4.1":0.0034,"2.4.1-p1":0.0031,"2.4.2":0.0049,"2.4.2-p1":0.0051,"2.4.2-p2":0.0058,"2.4.3":0.0074,"2.4.3-p1":0.0094,"2.4.3-p2":0.0096,"2.4.3-p3":0.0062,"2.4.4":0.0108,"2.4.4-p1":0.0069,"2.4.4-p10":0.0057,"2.4.4-p11":0.0077,"2.4.4-p12":0.0059,"2.4.4-p13":0.0055,"2.4.4-p14":0.0073,"2.4.4-p15":0.0052,"2.4.4-p16":0.0065,"2.4.4-p17":0.0053,"2.4.4-p18":0.005,"2.4.4-p2":0.0025,"2.4.4-p3":0.0029,"2.4.4-p4":0.0031,"2.4.4-p5":0.0035,"2.4.4-p6":0.004,"2.4.4-p7":0.0042,"2.4.4-p8":0.0044,"2.4.4-p9":0.0037,"2.4.5":0.0145,"2.4.5-p1":0.0116,"2.4.5-p10":0.0071,"2.4.5-p11":0.0152,"2.4.5-p12":0.0102,"2.4.5-p13":0.0085,"2.4.5-p14":0.0094,"2.4.5-p15":0.0066,"2.4.5-p16":0.0087,"2.4.5-p17":0.0072,"2.4.5-p2":0.0033,"2.4.5-p3":0.0052,"2.4.5-p4":0.0044,"2.4.5-p5":0.0046,"2.4.5-p6":0.0068,"2.4.5-p7":0.006,"2.4.5-p8":0.0049,"2.4.5-p9":0.0047,"2.4.6":0.0387,"2.4.6-p1":0.0217,"2.4.6-p10":0.0087,"2.4.6-p11":0.0173,"2.4.6-p12":0.0112,"2.4.6-p13":0.0104,"2.4.6-p14":0.0107,"2.4.6-p15":0.0096,"2.4.6-p2":0.0046,"2.4.6-p3":0.0072,"2.4.6-p4":0.0084,"2.4.6-p5":0.0075,"2.4.6-p6":0.0082,"2.4.6-p7":0.0081,"2.4.6-p8":0.0071,"2.4.6-p9":0.0057,"2.4.7":0.0253,"2.4.7-p1":0.0174,"2.4.7-p10":0.0117,"2.4.7-p2":0.0074,"2.4.7-p3":0.0145,"2.4.7-p4":0.0174,"2.4.7-p5":0.0136,"2.4.7-p6":0.0172,"2.4.7-p7":0.0158,"2.4.7-p8":0.0118,"2.4.7-p9":0.0069,"2.4.8":0.0252,"2.4.8-p1":0.0217,"2.4.8-p2":0.0212,"2.4.8-p3":0.0217,"2.4.8-p4":0.0179,"2.4.8-p5":0.0174,"2.4.9":0.0233,"unspecified":0.2056},"confidence":0.042},"backportWorthy":{"score":1.2086,"probabilities":{"0":0.221,"1":0.3494,"2":0.4296},"confidence":0.0332}},"curated":{"title":"Adds table and column to the SchemaBuilder Undefined array key type error","description":"When column data has no type, SchemaBuilder build ends with Warning: Undefined array key \"type\" and no table or column in the message. SchemaBuilder build now has a try/catch that logs the error with Error processing table and column, then throws a LocalizedException with that message.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-39799 details"}