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

Check if linked profile exists before creating system #4

Open
evanebb opened this issue Feb 13, 2023 · 0 comments
Open

Check if linked profile exists before creating system #4

evanebb opened this issue Feb 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@evanebb
Copy link
Owner

evanebb commented Feb 13, 2023

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.

@evanebb evanebb added the enhancement New feature or request label Feb 13, 2023
@evanebb evanebb self-assigned this Feb 13, 2023
@evanebb evanebb changed the title Check if lniked distro/profile exists before creating profile or system Check if linked distro/profile exists before creating profile or system Feb 13, 2023
@evanebb evanebb changed the title Check if linked distro/profile exists before creating profile or system Check if linked profile exists before creating profile or system Mar 25, 2023
@evanebb evanebb changed the title Check if linked profile exists before creating profile or system Check if linked profile exists before creating system Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant