How to update layout_section fields revisions?

Created on 24 April 2021, about 4 years ago
Updated 8 September 2024, 8 months ago

Problem/Motivation

In #3130635: Separate settings β†’ I am changing a field formatter config structure, and I am handling the update:
- normal config: ok
- view display config: ok
- views: ok
- layout builder: ok
- layout builder overrides: todo, but ok. I can load the entities with layout builder overrides, and changing the field values.
- layout builder overrides revisions: ???

I guess that if I revert a content entity to a previous revision where the field formatter structure is the old one there will be errors.

So is there something to help to do this kind of updates in core?

Because without any tool to help, it will prevent people to make their field formatters to evolve because of updates too hard to do.

I searched in Layout Builder but I found nothing.

Thanks for any help

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ’¬ Support request
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated 1 day ago

Created by

πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

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.

  • πŸ‡³πŸ‡ΏNew Zealand quietone

    @Grimreaper, has this been sorted? Is this a bug report?

    The Drupal Core issue queue is not the ideal place for support requests (that option is mostly there for filing support issues for contributed modules and themes). There are several support options listed on our support page β†’ (Community > Support at the top of Drupal.org) and there is Drupal Slack β†’ . Drupal Slack and the Forums, which are our two main support mechanisms in the Drupal community.

  • πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

    @quietone,

    I currently don't have the time to look if some changes had been done to ease the DX on this aspect.

    Next time I will create issues in feature request category, you can close this one if you want.

Production build 0.71.5 2024