bamboo sent emails containing unreadable info

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 3.0 i4
    • Affects Version/s: 2.7
    • Component/s: Notifications
    • None
    • Environment:

      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!

            Assignee:
            Przemek Bruski
            Reporter:
            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