Skip to content

Check if linked profile exists before creating system #4

@evanebb

Description

@evanebb

When creating a new system, the UUID of the corresponding profile to link it to is supplied. Before creating it, a check should be done to see if the profile to link actually exists and return an error if this is not the case.
The database will do this because of the foreign keys that are used, but this responsibility should be moved to the code itself.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions