Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override referential integrity for delete Log triggers regardless of filter #5949

Open
relikd opened this issue May 22, 2024 · 0 comments
Open

Comments

@relikd
Copy link

relikd commented May 22, 2024

This Log is called for all conflicts and not just those which are ignored (a few lines below)

for (DeleteConflict nextConflict : theDeleteConflictList) {
ourLog.info(
"Ignoring referential integrity deleting {} - Referred to from {} at path {}",
nextConflict.getTargetId(),
nextConflict.getSourceId(),
nextConflict.getSourcePath());

...

if (Objects.equals(targetIdValue, selectionTargetValue)) {
theDeleteConflictList.setResourceIdToIgnoreConflict(nextConflict.getTargetId());
break;
}

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

No branches or pull requests

1 participant