Skip to content

Conversation

@dennisvang
Copy link
Contributor

@dennisvang dennisvang commented Jan 20, 2026

fixes #830

@dennisvang dennisvang force-pushed the fix/issue830-duplicated-children branch from 4dbb17d to c9f5bcc Compare January 22, 2026 17:05
@dennisvang dennisvang force-pushed the fix/issue830-duplicated-children branch from c9f5bcc to 917e60b Compare January 22, 2026 17:11
The deletion was un-scheduled because the parent and or child entities still had reference to the link entity.
This is now fixed by deleting both sides of the relation (see e.g. hibernate docs on bidirectional many-to-many associations).
…ually link entities), because we need to remove an item from the original list.
Iterate over all default resources.
The fdp, catalog and dataset reproduce the duplicated children and the distibution reproduces the duplicated external-links from #830
@dennisvang dennisvang marked this pull request as ready for review January 23, 2026 17:02
@dennisvang dennisvang force-pushed the fix/issue830-duplicated-children branch from 6c6c5eb to f78baf9 Compare January 23, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ResourceDefinition children and external-links are duplicated after every save

2 participants