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

Handle missing contact address in project_submission #2178

Merged
merged 1 commit into from
Jan 18, 2024

Commits on Jan 16, 2024

  1. project_submission: handle case of an unassigned project.

    On the submission page we display a contact address for the project
    editor, if one has been assigned.  If no editor has yet been assigned,
    then the "contact_email" won't be shown.
    
    However, if no editor has yet been assigned (self.editor is None) and
    there is no PROJECT_EDITOR_EMAIL defined, the previous code would
    crash.
    
    Put this logic into the model class, not the view, and document it.
    Benjamin Moody committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    28e995a View commit details
    Browse the repository at this point in the history