{"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":"5d816ffb003e8564a30390af59e504f46fef58f7753e5b7072c82445bde7c535","isBugfix":0.7339,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8229,"feature":0.0336,"refactor":0.079,"tests_only":0.0152,"docs_only":0.009,"dependency":0.0079,"cleanup":0.0324},"confidence":0.6337},"scope":{"score":0.8243,"probabilities":{"0":0.3423,"1":0.4912,"2":0.1665},"confidence":0.0793},"risk":{"score":0.2344,"probabilities":{"0":0.8138,"1":0.138,"2":0.0482},"confidence":0.5255},"area":{"choice":"framework","probabilities":{"catalog":0.026,"checkout":0.0079,"customer":0.0062,"admin":0.0214,"graphql_api":0.0064,"framework":0.9108,"frontend":0.0085,"other":0.0128},"confidence":0.807},"securityRelevant":0.0067,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0041,"2.4.0-p1":0.0046,"2.4.1":0.004,"2.4.1-p1":0.0034,"2.4.2":0.0055,"2.4.2-p1":0.0055,"2.4.2-p2":0.0062,"2.4.3":0.008,"2.4.3-p1":0.0094,"2.4.3-p2":0.0098,"2.4.3-p3":0.0068,"2.4.4":0.011,"2.4.4-p1":0.0075,"2.4.4-p10":0.0067,"2.4.4-p11":0.0087,"2.4.4-p12":0.0066,"2.4.4-p13":0.0062,"2.4.4-p14":0.0084,"2.4.4-p15":0.0059,"2.4.4-p16":0.0069,"2.4.4-p17":0.0059,"2.4.4-p18":0.0054,"2.4.4-p2":0.0028,"2.4.4-p3":0.0033,"2.4.4-p4":0.0033,"2.4.4-p5":0.0037,"2.4.4-p6":0.0045,"2.4.4-p7":0.0042,"2.4.4-p8":0.005,"2.4.4-p9":0.004,"2.4.5":0.0137,"2.4.5-p1":0.0104,"2.4.5-p10":0.0074,"2.4.5-p11":0.0134,"2.4.5-p12":0.0101,"2.4.5-p13":0.0105,"2.4.5-p14":0.0098,"2.4.5-p15":0.0067,"2.4.5-p16":0.009,"2.4.5-p17":0.0082,"2.4.5-p2":0.0039,"2.4.5-p3":0.0053,"2.4.5-p4":0.0052,"2.4.5-p5":0.0048,"2.4.5-p6":0.0065,"2.4.5-p7":0.0068,"2.4.5-p8":0.0059,"2.4.5-p9":0.0051,"2.4.6":0.0339,"2.4.6-p1":0.0228,"2.4.6-p10":0.0102,"2.4.6-p11":0.0169,"2.4.6-p12":0.0118,"2.4.6-p13":0.0114,"2.4.6-p14":0.0113,"2.4.6-p15":0.0094,"2.4.6-p2":0.0055,"2.4.6-p3":0.0084,"2.4.6-p4":0.0103,"2.4.6-p5":0.0087,"2.4.6-p6":0.0093,"2.4.6-p7":0.0094,"2.4.6-p8":0.0072,"2.4.6-p9":0.0058,"2.4.7":0.0276,"2.4.7-p1":0.0172,"2.4.7-p10":0.0112,"2.4.7-p2":0.0077,"2.4.7-p3":0.0135,"2.4.7-p4":0.0153,"2.4.7-p5":0.0139,"2.4.7-p6":0.0176,"2.4.7-p7":0.0145,"2.4.7-p8":0.0102,"2.4.7-p9":0.0068,"2.4.8":0.0258,"2.4.8-p1":0.021,"2.4.8-p2":0.0207,"2.4.8-p3":0.0205,"2.4.8-p4":0.0175,"2.4.8-p5":0.0159,"2.4.9":0.0219,"unspecified":0.1889},"confidence":0.0351},"backportWorthy":{"score":1.2083,"probabilities":{"0":0.2221,"1":0.3475,"2":0.4304},"confidence":0.033}},"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"}