In ietf.meetings.utils.handle_upload_file, we have:
# agendas and minutes can only have one file instance so delete file if it already exists
if subdir in ('agenda','minutes'):
old_files = glob.glob(os.path.join(path,base) + '.*')
for f in old_files:
os.remove(f)
The assertion was once true, but no longer is. We allow versioned minutes and agendas. The code isn't exercised because the filename passed in (in modern meetings) contains the revision # already.
Issue migrated from trac:2802 at 2022-03-04 07:17:32 +0000
type_defect
| by rjsparks@nostrum.comIn ietf.meetings.utils.handle_upload_file, we have:
The assertion was once true, but no longer is. We allow versioned minutes and agendas. The code isn't exercised because the filename passed in (in modern meetings) contains the revision # already.
Issue migrated from trac:2802 at 2022-03-04 07:17:32 +0000