Configurable fields that are created only for update path tests should be defined with custom_storage = TRUE

Created on 6 February 2019, almost 6 years ago
Updated 15 September 2023, about 1 year ago

Problem/Motivation

In a few update path tests, we create fixtures for configurable field storages so we can test an update hook that touches their settings.

However, those fixtures do not go through the regular "field install" process (no database tables, no last installed schema entries) because they're not needed for the purpose of the update test.

This is not a problem at the moment, but it will become one once we start using the last installed definitions for entity type and field storage CRUD operations in #2976035: Entity type CRUD operations must use the last installed entity type and field storage definitions .

Proposed resolution

Mark those field storages with `custom_storage = TRUE`.

Remaining tasks

Review.

User interface changes

Nope.

API changes

Nope.

Data model changes

Nope.

Release notes snippet

Nope.

🐛 Bug report
Status

Fixed

Version

8.7 ⚰️

Component
Entity 

Last updated about 3 hours ago

Created by

🇷🇴Romania amateescu

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024