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

fix: Expand and enforce Cancel Interim Meeting Request comments length to 512 #7069

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

pselkirk
Copy link
Collaborator

Fixes #6998

Comment on lines +1 to +18
# Copyright The IETF Trust 2024, All Rights Reserved

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("meeting", "0004_session_chat_room"),
]

operations = [
migrations.AlterField(
model_name="session",
name="agenda_note",
field=models.CharField(blank=True, max_length=512),
),
]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note: #7003 also has a 0005 migration. One of these will have to be updated to 0006, depending on merge order.

{{ meeting.session_set.0.agenda_note }}
{{ meeting.session_set.first.agenda_note }}
Copy link
Collaborator Author

@pselkirk pselkirk Feb 16, 2024

Choose a reason for hiding this comment

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

Note: I'm deeply uneasy about this change, since I have to assume it worked before, but in my test environment, generated email had the line:
** No value found for 'meeting.session_set.0.agenda_note' **'

Copy link
Member

@rjsparks rjsparks Feb 16, 2024

Choose a reason for hiding this comment

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

Why assume it worked before? There's no test that looks to see if the note actually made it into the email i think.
Please add one.

I verified that the cancellation that led to this issue had a agenda_note added, but the email that went out did not contain it.

@rjsparks rjsparks merged commit 9ab820f into ietf-tools:main Feb 20, 2024
7 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 24, 2024
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.

Add warning when character limit is exceeded on Cancel Interim Meeting Request page
2 participants