Skip to content

Conversation

@alehaa
Copy link
Contributor

@alehaa alehaa commented Oct 23, 2024

Fixes: #17685

Previously, fields in the Job model were not validated when the job was created. Now full_clean() is called before saving the job to ensure valid data. In addition, test cases have been updated because using a Job as instance when creating a job would not pass validation.

Previously, fields in the Job model were not validated when the job was
created. Now 'full_clean()' is called before saving the job to ensure
valid data.
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @alehaa!

@jeremystretch jeremystretch removed the request for review from arthanson October 28, 2024 17:38
@jeremystretch jeremystretch merged commit 69e1394 into netbox-community:develop Oct 28, 2024
3 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2024
@alehaa alehaa deleted the 17685-job-clean branch February 7, 2025 21:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Job.clean() not called

2 participants