Can't delete a config page

Created on 25 April 2023, about 1 year ago
Updated 21 June 2023, about 1 year ago

Problem/Motivation

Can't delete a config page.

Steps to reproduce

1. Create a config page type.
2. Try to delete.
3. You can't :-)

Proposed resolution

Provide a way to delete the config page.

This is needed specially in environments where you sync your config (dev/staging/prod). If there is existing config, you cannot rename/delete a config page type.

Remaining tasks

Patch.

User interface changes

Delete action added.

API changes

Delete form handler added to config pages entity.

Data model changes

None.

πŸ› Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί

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

Comments & Activities

  • Issue created by @penyaskito
  • πŸ‡΅πŸ‡±Poland shumer Wroclaw

    Can you provide more info please?
    I can normally delete the created config page.

  • Assigned to shumer
  • Status changed to Postponed: needs info about 1 year ago
  • πŸ‡΅πŸ‡±Poland shumer Wroclaw
  • πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί

    I can delete a config page TYPE, but not the config page itself from the UI (even deleting the config page type deletes the config page entity).
    I can't remember what was I trying, but there are scenarios with config sync were you actually need to delete the entity, and "clearing" its values is not enough.

Production build 0.69.0 2024