Skip to content

[Issue] Fix Magento install error: "Attribute with ID: 'url_key' does not exist" #40332

@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #40322: Fix Magento install error: "Attribute with ID: 'url_key' does not exist"


Description (*)

This PR fixes a Magento installation failure: 'Unable to apply data patch Magento\Catalog\Setup\Patch\Data\UpdateProductUrlKeyBackendModel for module Magento_Catalog. Original exception message: Attribute with ID: "url_key" does not exist'
Screenshot from 2025-11-26 20-06-06

Manual testing scenarios (*)

  1. Perform a standard Magento installation process.
  2. Verify that the installation completes successfully without any errors.

Expected Result:
Magento installs successfully and no error related to the url_key attribute or data patches appears.

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Ready for Confirmation

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions