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

FieldError on /admin/base/job/add/ #1220

Closed
jgmize opened this issue Nov 1, 2019 · 1 comment · Fixed by #1221
Closed

FieldError on /admin/base/job/add/ #1220

jgmize opened this issue Nov 1, 2019 · 1 comment · Fixed by #1221

Comments

@jgmize
Copy link
Contributor

jgmize commented Nov 1, 2019

https://sentry.prod.mozaws.net/operations/snippets/issues/6453618/?query=is:unresolved

"'completed_on' cannot be specified for Job model form as it is a non-editable field. Check fields/fieldsets/exclude attributes of class JobAdmin."

@triage-new-issues triage-new-issues bot added Triage and removed Triage labels Nov 1, 2019
@jgmize jgmize changed the title FieldError/admin/base/job/add/ FieldError on /admin/base/job/add/ Nov 1, 2019
glogiotatidis added a commit to glogiotatidis/snippets-service that referenced this issue Nov 4, 2019
This reverts commit d423fc8.

and fixes adds completed_on to readonly_fields to make the reverted commit not
required.
@glogiotatidis
Copy link
Contributor

Thanks for quickly fixing this Josh. Created an issue to add a list of tests to catch errors like this before they hit prod. #1223

glogiotatidis added a commit that referenced this issue Nov 4, 2019
Revert "Remove completed_on from admin fields to fix #1220"
glogiotatidis added a commit to glogiotatidis/snippets-service that referenced this issue Nov 19, 2019
glogiotatidis added a commit that referenced this issue Nov 28, 2019
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 a pull request may close this issue.

2 participants