Skip to content

fix: Don't require a responsible AD to be identified for new status change#4297

Merged
rjsparks merged 1 commit intoietf-tools:mainfrom
larseggert:fix-4159
Aug 1, 2022
Merged

fix: Don't require a responsible AD to be identified for new status change#4297
rjsparks merged 1 commit intoietf-tools:mainfrom
larseggert:fix-4159

Conversation

@larseggert
Copy link
Copy Markdown
Collaborator

Fixes #4159

title = forms.CharField(max_length=255, label="Title", required=True)
ad = forms.ModelChoiceField(Person.objects.filter(role__name="ad", role__group__state="active",role__group__type='area').order_by('name'),
label="Shepherding AD", empty_label="(None)", required=True)
label="Shepherding AD", empty_label="(None)", required=False)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This has to come with a migration. (The tests should really complain if migrations are missing).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nevermind - reading too fast and was thinking models rather than forms.

@rjsparks rjsparks merged commit cdb4769 into ietf-tools:main Aug 1, 2022
@rjsparks
Copy link
Copy Markdown
Member

rjsparks commented Aug 2, 2022

Shouldn't have approved this - the tests still required that the forms fail if you don't supply an AD. Will provide a fix, but yet another place where we are letting failing tests slide and real issues slide through with them.

rjsparks added a commit to rjsparks/datatracker that referenced this pull request Aug 2, 2022
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 6, 2022
@larseggert larseggert deleted the fix-4159 branch September 23, 2022 14:21
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.

Can't create new status change

2 participants