Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-7413

bamboo sent emails containing unreadable info

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.0 i4
    • 2.7
    • Notifications
    • None
    • standalone version, winxp sp3, jdk1.6

      I am a east-asian user, and i setup my bamboo server to send email after every completed build. however, there's unreadable part in the email, like the following:
      *****
      [INFO] Compilation failure
      \...\iskControlFacadeImpl.java:[50,38] ????????
      ???? ???? findNaireByCustomerType(java.lang.String)
      *****

      I googled for this issue, and I get the following info:
      *****
      it's a bamboo's bug. the utf-8 charset parameter's missing in htmlpart.setContent method
      in com.atlassian.bamboo.notification.transports/MultipartEmailTransport.class:

      htmlContent = notification.getHtmlEmailContent();
      if(StringUtils.isNotBlank(htmlContent))

      {    BodyPart htmlPart = new MimeBodyPart();      htmlPart.setContent(htmlContent, "text/html;charset=utf-8");      mp.addBodyPart(htmlPart); }

      *****

      is that true? how can i solve the problem?

      THANKS!

              pbruski Przemek Bruski
              a17c98d35b46 smthsiwei
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified