Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Sql exception when removing all scope secrets #21

@hrjjml

Description

@hrjjml

Setting scope.ScopeSecrets = null or scope.ScopeSecrets = new List<ScopeSecret() will result in sql exception:
System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'ScopeId', table 'ScopeSecrets'; column does not allow nulls. UPDATE fails.
The statement has been terminated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions