Cannot add index endpoints_entity_type to table field_data_endpoints: index already exists

Created on 7 October 2023, about 1 year ago
Updated 25 January 2024, 11 months ago

Problem/Motivation

Hello everyone,

I'm getting the error reproduced below every time I try to revert features field_base component, and it seems to me because the targeted fields were already there from another features module that I disabled/uninstalled to replace with a new one that includes all what the first one had using a new features module name.

And I think the problem were caused when I installed the new features module before disabling the old one ..

This error is actually blocking the reverting process for all field_base component so new fields that should be created on the target project are not being created as expected.

Any help would be appreciated.

Thank you in advance.

Steps to reproduce

# drush features-revert my_features.field_base

exception 'DatabaseSchemaObjectExistsException' with message 'Cannot add index endpoints_entity_type to table field_data_endpoints: index already exists.' in /var/www/includes/database/mysql/schema.inc:450                 [error]

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.15

Component

Code

Created by

🇲🇦Morocco bnadem

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024