Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-30587

"Reset Password" button in Forgot Your Password emails is not shown for some email clients in IE8

      Steps to Reproduce

      1. Create a user with a valid email
      2. Click "Reset Password"
      3. Enter the email
      4. View the email in IE8

      Expected Results

      The "Reset Password" button in the email should be shown and clickable

      Actual Results

      The "Reset Password" button in the email is not shown and clickable. This issue occurs in Lotus Notes and Live Mail. The same email viewed in Gmail does not have such issue. But when exporting Gmail into html, this button is not shown.

      Findings

      The customer found out that the button is also not shown and not clickable when viewed in IE8. Try to view this HTML on IE8 and it won't show anything:

      <html>
      <head><title>test</title>
      
      </head>
      <body>
      <table>
      <tr><td class="aui-button-email" style="background: #3068a2; background: -moz-linear-gradient(top, #4687ce 0%, #3068a2 100%); background: -webkit-linear-gradient(top, #4687ce 0%,#3068a2 100%); background: -o-linear-gradient(top, #4687ce 0%,#3068a2 100%); background: -ms-linear-gradient(top, #4687ce 0%,#3068a2 100%); background: linear-gradient(top, #4687ce 0%,#3068a2 100%); -moz-box-sizing: border-box; -webkit-font-smoothing: antialiased;; padding: 0px; border-collapse: collapse; border-radius: 3px; padding: 5px; margin: 0px"><a href="https://extranet.teosto.fi/confluence/resetuserpassword.action?username=tuukka.ilomaki&amp;token=ed7e2d75e058d944d5b5d3807e2ac5f1823326f7" class="aui-button-email-link" style="color: #3b73af; text-decoration: none; color: #fff; font-weight: bold; padding: 6px; font-size: 14px; line-height: 1,429; font-family: Arial, sans-serif">Reset password</a></td></tr>
      </table>
      </body>
      </html>

      Workaround

      Please have a look at this comment

        1. confluence_5.4.4.png
          confluence_5.4.4.png
          33 kB
        2. confluence-email-notifications-plugin-8.4.6.jar
          153 kB
        3. confluence-email-notifications-plugin-8.8.3.jar
          154 kB
        4. confluence-email-resources-5.3.jar
          48 kB
        5. ie8-standards-mode.jpg
          ie8-standards-mode.jpg
          265 kB
        6. live mail.png
          live mail.png
          123 kB
        7. lotus-notes-reset-password-email-jar-fix.png
          lotus-notes-reset-password-email-jar-fix.png
          30 kB

            [CONFSERVER-30587] "Reset Password" button in Forgot Your Password emails is not shown for some email clients in IE8

            Dalectric added a comment -

            Attached is a version that I've modified for Confluence 6.2.3

            confluence-email-notifications-plugin-8.8.3.jar

            Dalectric added a comment - Attached is a version that I've modified for Confluence 6.2.3 confluence-email-notifications-plugin-8.8.3.jar

            Workaround for Confluence 5.10.x:

            Follow the instructions below to change the text colour to black:

            1. Shut downn Confluence
            2. Go to Confluence-Install folder
            3. locate the atlassian-bundled-plugins located in the Confluence-Install\confluence\WEB-INF\atlassian-bundled-plugins
            4. locate the plugin confluence-email-notifications-plugin-8.4.6.jar
            5. Backup, and delete this .jar file from this location
            6. Save this attached new .jar file instead into the same location: confluence-email-notifications-plugin-8.4.6.jar
            7. Restart Confluence

            Monique Khairuliana (Inactive) added a comment - Workaround for Confluence 5.10.x: Follow the instructions below to change the text colour to black: Shut downn Confluence Go to Confluence-Install folder locate the atlassian-bundled-plugins located in the Confluence-Install\confluence\WEB-INF\atlassian-bundled-plugins locate the plugin confluence-email-notifications-plugin-8.4.6.jar Backup, and delete this .jar file from this location Save this attached new .jar file instead into the same location: confluence-email-notifications-plugin-8.4.6.jar Restart Confluence

            Hi Mario Günter, we can build a .jar with a fix for you. If you still need it please feel free to contact me at philipp.goellner@scandio.de

            Philipp Göllner (Scandio) added a comment - Hi Mario Günter, we can build a .jar with a fix for you. If you still need it please feel free to contact me at philipp.goellner@scandio.de

            Please provide a fixed .jar for Confluence 5.4.4

            I suggest a hyperlink instead of a button.

            Thanks!

            Mario Günter added a comment - Please provide a fixed .jar for Confluence 5.4.4 I suggest a hyperlink instead of a button. Thanks!

            Replicated as well with Confleuince 5.4.4 and Lotus notes

            Tihomir Nikolov _Nemetschek Bulgaria_ added a comment - Replicated as well with Confleuince 5.4.4 and Lotus notes

            jxie Issue could be replicated in Confluence 5.3.4 with Lotus Notes

            Patrice Rompas (Inactive) added a comment - jxie Issue could be replicated in Confluence 5.3.4 with Lotus Notes

            Hi Ulrich, I believe it was marked as cannot reproduce because of this comment: https://jira.atlassian.com/browse/CONF-30587?focusedCommentId=520051&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-520051
            Which suggests moving to IE8 standards mode fixes the problem. Unfortunately in our company environment we host JIRA on a domain which is defined by IE as "intranet" and there is a setting in IE that tells it to use Compatibility view for intranet sites which is what causes the issue. The desktop support team here couldn't change this preference as we have other intranet sites provided to the business which need this setting enabled.

            Graham Rivers-Brown added a comment - Hi Ulrich, I believe it was marked as cannot reproduce because of this comment: https://jira.atlassian.com/browse/CONF-30587?focusedCommentId=520051&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-520051 Which suggests moving to IE8 standards mode fixes the problem. Unfortunately in our company environment we host JIRA on a domain which is defined by IE as "intranet" and there is a setting in IE that tells it to use Compatibility view for intranet sites which is what causes the issue. The desktop support team here couldn't change this preference as we have other intranet sites provided to the business which need this setting enabled.

            Thanks for the workaround, Graham.

            But why is this issue on "Resolved - Cannot Reproduce", if a workaround exists? *gg

            Ulrich Weiß added a comment - Thanks for the workaround, Graham. But why is this issue on "Resolved - Cannot Reproduce", if a workaround exists? *gg

            Graham Rivers-Brown added a comment - - edited

            If anyone desperately needs a work around for this (we did as all staff are on Lotus Notes) below is some info which will help you manually modify the email content so it displays correctly.

            NOTE: Only tested (by me) against Confluence 5.3 Linux x32 sending emails to Lotus Notes 8.5. Assumes some level of understanding of CSS and how java jars work

            • CSS is used to style the button on the forgot password email
            • the CSS does not cater properly for IE8 based systems where IE8 is not set in standards mode
            • the CSS files are contained within confluence-email-resources-5.3.jar (install/confluence/WEB-INF/atlassian-bundled-plugins/confluence-email-resources-5.3.jar)
            • There are two CSS files that need to be updated within the jar
              • css\all-clients.css
              • css\all-clients-min.css
            • we updated aui-button-email in the CSS from #fff to #3068a2

            I've attached a screenshot showing the forgot password email in Lotus Notes as well as our patched jar file.

            Graham Rivers-Brown added a comment - - edited If anyone desperately needs a work around for this (we did as all staff are on Lotus Notes) below is some info which will help you manually modify the email content so it displays correctly. NOTE: Only tested (by me) against Confluence 5.3 Linux x32 sending emails to Lotus Notes 8.5. Assumes some level of understanding of CSS and how java jars work CSS is used to style the button on the forgot password email the CSS does not cater properly for IE8 based systems where IE8 is not set in standards mode the CSS files are contained within confluence-email-resources-5.3.jar (install/confluence/WEB-INF/atlassian-bundled-plugins/confluence-email-resources-5.3.jar) There are two CSS files that need to be updated within the jar css\all-clients.css css\all-clients-min.css we updated aui-button-email in the CSS from #fff to #3068a2 I've attached a screenshot showing the forgot password email in Lotus Notes as well as our patched jar file.

            Hi james.boulton : can you specify which browser and email client? If they are not using IE8, can you make a separate issue for each browser/email client that this issue affects?

            Chii (Inactive) added a comment - Hi james.boulton : can you specify which browser and email client? If they are not using IE8, can you make a separate issue for each browser/email client that this issue affects?

              Unassigned Unassigned
              asanusi AmaliaA
              Affected customers:
              2 This affects my team
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: