Skip to content

Circular parent record references should be disallowed #24

@marksparkza

Description

@marksparkza

A recursion error occurred when saving a record whose parent record was also its child. These two records were migrated from ODP v1 with this invalid relationship.

The records (or at least one of them) will need to be fixed manually in the DB. We also need to check all records to make sure there are no more such circular references.

The record API should be revisited to make sure it blocks any record create/update that would introduce such a circular reference - currently it looks like it only checks that the immediate parent is not a child.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions