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

Created on 6 February 2019, over 5 years ago
Updated 15 September 2023, 10 months 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 1 day 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.69.0 2024