Uploaded image for project: 'Contrib: Evaluation System'
  1. Contrib: Evaluation System
  2. EVALSYS-1179

Enable submission confirmation email when enabled causes response save to fail silently

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.1
    • Labels:
      None

      Description

      Under Administrate -> Control Email Settings, if you enable Submission Confirmation Email, you can no longer save a response. EvalEmailsLogicImpl.sendEvalSubmissionConfirmationEmail() tries to retrieve the email template EvalConstants.EMAIL_TEMPLATE_SUBMITTED, but this fails because this template has not been loaded. The save looks successful (the screen displays a success message), but the response isn't written to disk, and an INFO message is written to the log. A template (EMAIL_SUBMITTED_DEFAULT_SUBJECT and EMAIL_SUBMITTED_DEFAULT_TEXT) has been created in EvalEmailConstants, but no template has been loaded in PreloadDataImpl. Fix should just be to add the template in PreloadDataImpl. To duplicate, set the option and confirm the response is not written. Turn off the option and the response save should succeed.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  crouch Catherine Crouch
                  Reporter:
                  mgillian Michael Gillian (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration