Skip to content

Removal of parent label can brake testcase #2609

@lucashimpens

Description

@lucashimpens

It is possible to delete a label that have children and, as result, children labels are orphan and will continue with the parent ID.

On the example below, we can delete label “PARENT_1“.

Image

And is a tests case have a children label, this will cause parse error when opening testcase

Image Image

The solution is to go to the children label and remove the parent and all is working again.

A solution to avoid this type of issue can be to implement this behaviour:

  • When removing parent, set all children “Parent LabelID” to zero

What do you think @vertigo17 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions