Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-20296

Notification Email when 'following' a user displays incorrectly in Japanese

    Details

    • Bug Priority:
      Category 2
    • ACT Numbers:

      00983994

      Description

      Description

      The Japanese version of the email generated after 'following' a user does not display correctly because the Content-Type is set to text/plain.  It should be set to text/html

      Subject: =?UTF-8?B?QWRtaW5pc3RyYXRvciA=?=
       =?UTF-8?B?44GM44GC44Gq44Gf44KS44OV44Kp44Ot44O844GX44Gm44GE44G+44GZ?=
      MIME-Version: 1.0
      Content-Type: text/plain; charset=UTF-8
      Content-Transfer-Encoding: quoted-printable

      If I make a single edit to change the Content-Type to text/html, then the message will display correctly.

      Supporting evidence

      I checked the 'activity' email and that displays correctly because the Content-Type is set to text/html:

      Subject: =?UTF-8?Q?Alfresco_Shar?=

       =?UTF-8?Q?e:_=E6=9C=80=E8=BF=91=E3=81=AE?=
       =?UTF-8?Q?=E3=82=A2=E3=82=AF=E3=83=86=E3=82=A3=E3=83=93=E3=83=86=E3=82=A3?=
      MIME-Version: 1.0
      Content-Type: text/html;charset=UTF-8
      Content-Transfer-Encoding: quoted-printable

      Lastly, I checked both the English and French versions of the 'following' email and they are both using Content-Type text/html

      Steps to reproduce

      1/ Create the Environment:

       

      • ACS 5.2.4.1
      • set the system locale to ja_JP.UTF-8
      • install Mailcatcher (or similar) on localhost to capture the email.
      • configure Outbound Email to send msgs to Mailcatcher(or similar)
         - configure 'activities feed' cron job to run every 5 minutes (0,5,10,15,20,25,30,35,40,45,50,55 * * * * ?)
         - set your browser language to Japanese

      2/. Run test:

       - login to Share as 'admin' user
       - create a new user X
       - 'follow' the user X

       

      check the 'following' msg has been received in Mailcatcher.  It should be displayed incorrectly.

       - logout of Share
       - login to Share as user X
       - create a new site X-site
       - upload some files to the Document Library

      check the 'activities' email has been received in Mailcatcher.  It should be displayed correctly.

      Expected Behaviour

      The email should display correctly as an html message.

      Observed Behaviour

      The email displays as plain text showing the html tags.

      Business Case:

      The customer has not provided any feedback on the urgency of this issue or how/if it is affecting their production users.  They may provide some information in the future.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                pbateman Paul Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: