Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39466

Allow for debugging of attachment content in testMode

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.2
    • Fix Version/s: 11.3, 12.0
    • Component/s: Kernel
    • Labels:
      None
    • 11 status:
      Resolved
    • Previous Issue Keys:
      KNL-1480
    • Test Plan:
      Hide

      Nightlies are running this so this should be easy to test.

      Send an attachment from some tool (like announcement maybe, or email) you should see the attachment data in the log if it's a plain text attachment. Otherwise you should see BINARY but at least that you had an attachment.

      Show
      Nightlies are running this so this should be easy to test. Send an attachment from some tool (like announcement maybe, or email) you should see the attachment data in the log if it's a plain text attachment. Otherwise you should see BINARY but at least that you had an attachment.

      Description

      When you have

      testMode@org.sakaiproject.email.api.EmailService=true

      enabled then no details of attachments are printed out. I added a patch for some additional local debugging that will print out the contents of "text" attachments and just print "BINARY" (for now) for binary contents. I don't think there's much need to actually get at the binary content, but it's nice to know that there are attachments that are coming through.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ncaidin Neal Caidin
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration