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

533 Fix Custom Fields after job failure #637

Merged
merged 10 commits into from Jul 7, 2021

Conversation

nniehoff
Copy link
Contributor

@nniehoff nniehoff commented Jul 1, 2021

Fixes: #533

This PR addresses the comments from @lampwins on #533:

  1. The custom field background tasks are now being run in an atomic transaction.
  2. A command nautobot_server fix_custom_fields has been added to cleanup objects' custom fields in the case the job has failed.

This PR with the addition of Celery in 1.1 as part of #223 should completely fix this issue.

@nniehoff nniehoff changed the title Nn 533 cf cleanup 533 Fix Custom Fields after job failure Jul 1, 2021
Copy link
Contributor

@glennmatthews glennmatthews left a comment

Choose a reason for hiding this comment

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

Looks terrific - thank you!

@jathanism
Copy link
Contributor

@nniehoff If you could please address the feedback and the merge conflict you would be my hero for the day.

@jathanism jathanism merged commit 879dd4b into nautobot:develop Jul 7, 2021
jathanism added a commit that referenced this pull request Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ignore old custom field data
4 participants