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

Share site invite emails for external user invites have trailing spaces on username/password

    Details

    • Bug Priority:
      Category 3
    • ACT Numbers:

      00973760

    • Story Points:
      1

      Description

      Problem Description

      When inviting an external user to a site, an email is sent containing the external user's generated username and password. End users will often cut and paste these into the login page, and it is easy for the end user to accidentally highlight and copy the trailing space that appears after both the username and password, causing an authentication failure which is difficult to diagnose for admins.

      Steps to Reproduce

      1. Enable external users per http://docs.alfresco.com/6.0/tasks/share-enable-external-user.html
      2. Set notification.email.siteinvite=true
      3. Enable outbound email per http://docs.alfresco.com/6.0/tasks/adminconsole-outboundemail.html
      4. Create a site, and invite an external user.
      5. Examine the resulting email

      Expected Results

      There are no trailing spaces after the username and password.

      Observed Results

      For the English email, there is a trailing space after the Username (see attached screenshot).
      For other language emails, there is a trailing space after both the Username and Password.

      Affected Templates

      In Repository/Data Dictionary/Email Templates/invite:
      invite-email.html.ftl
      invite-email_*.html.ftl (non-English templates)

      Workaround

      Modify the invite email templates to add <br /> to the end of the username and password lines, e.g.:

      <br />Benutzername: ${args["inviteeUserName"]?html}<br />
      <br />Passwort: ${args["inviteeGenPassword"]?html}<br />

        Attachments

          Structure

            Activity

              People

              • Assignee:
                shareteam Share Team
                Reporter:
                sashcraft Scott Ashcraft
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Structure Helper Panel