Skip to content

Error when deleting records - not logging deleted ID #10

@tomups

Description

@tomups

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.

Metadata

Metadata

Assignees

No one assigned

    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