Deleting a config checkpoint breaks the checkpoint storage

Created on 24 April 2025, 3 months ago

Problem/Motivation

Deleting a checkpoint deletes all checkpoints up to the checkpoint asked to be deleted.
But checkpoints have a reference to their parent and when checkpoints are deleted the now oldest checkpoint has its parent still set to the deleted one instead of null.
This creates a whole bunch of problems, for example one can not get parents and thus also not add a new checkpoint to the storage.

Steps to reproduce

create more than one checkpoint, delete any except the current one. Try to add a new checkpoint or get parents.

Proposed resolution

fix the delete method

Remaining tasks

write patch

User interface changes

none

Introduced terminology

none

API changes

none

Data model changes

none

Release notes snippet

-

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

configuration system

Created by

πŸ‡¨πŸ‡­Switzerland bircher πŸ‡¨πŸ‡Ώ

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024