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

Удаление подчиненных записей сущности при удалении основной #100

Open
Macegor opened this issue Jan 29, 2025 · 1 comment
Labels

Comments

@Macegor
Copy link

Macegor commented Jan 29, 2025

В данный момент при удалении сущности у которой есть подчиненные таблицы, записи в ней связанные с основной сущностью не удаляются, так же возникает странная ошибка при удалении:

Ошибка в строке: 173 / Внешнее исключение (Npgsql.PostgresException): 23503: update or delete on table "oc_ТаблицаМодели" violates foreign key constraint "onecoreТаблицаМодели_Колонки_ref_fkey" on table "onecoreТаблицаМодели_Колонки"
DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.}
@nixel2007
Copy link
Owner

Дополнительно - при обновлении сущности подчиненные неактуальные сущности не чистятся. Добавить режим независимости (?) и/или очистку

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants