-
Notifications
You must be signed in to change notification settings - Fork 378
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
Conversation
# 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), | ||
), | ||
] |
There was a problem hiding this comment.
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 }} |
There was a problem hiding this comment.
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' **'
There was a problem hiding this comment.
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.
Fixes #6998