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

Error when deleting records - not logging deleted ID #10

Open
tomups opened this issue Jun 1, 2022 · 0 comments
Open

Error when deleting records - not logging deleted ID #10

tomups opened this issue Jun 1, 2022 · 0 comments

Comments

@tomups
Copy link

tomups commented Jun 1, 2022

When deleting a record, the action doesn't get logged and there is the following error:

'null value in column "recordTitle" of relation "log" violates not-null constraint'

Making recordTitle nullable in the log entity makes the error go away and the action to gets logged, but we don't have the ID of the record that got deleted.

Ideally, the ID of the deleted record should be logged, otherwise we don't really know what got deleted and it will be hard to chase orphaned relations for example.

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