Skip to content

Undefined array key "type" Db/SchemaBuilder.php on line 93 #39801

Open
@fokkejan-made-by-mouses

Description

Preconditions and environment

  • Magento version: 2.4.7-p5
  • ElasticSuite version: 2.11.10

Steps to reproduce

  1. Install patch 2.4.7-p5 on an instance with ElasticSuite v2.11.10
  2. Run bin/magento setup:upgrade

Expected result

The upgrade command can be fully executed.

Actual result

We get this error: Warning: Undefined array key "type" in /var/www/html/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php on line 93

Additional information

Line 93 in vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php assumes that type exists for a column.
When a column is set to disabled, this is not the case.

ElasticSuite has this line in db_schema.xml:
<column name="is_used_in_autocomplete" disabled="true"/>

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Reported on 2.4.7-p5Indicates original Magento version for the Issue report.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions