Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-8383

Need to redeploy Sidekiq when updating Email Templates

XMLWordPrintable

    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Hide

      SaaS

      No workaround available

      On-premise

      • Redeploy the system-sidekiq and wait until it comes up
      • Send a new invite 
      • Check that this new developer user will receive an email with the new template
      Show
      SaaS No workaround available On-premise Redeploy the system-sidekiq and wait until it comes up Send a new invite  Check that this new developer user will receive an email with the  new  template
    • Hide

      SaaS

      Unable to reproduce on a test account but it can be reproduced on an account repeatedly once it hits the issue the first time.

      • Edit the "Signup notification for buyer" email template
      • Signup with a new user from the /signup form on the Developer portal
      • Observe the old template is sent to the user's email account

      On-premise

      • * Edit the Invitation email template (Audience > Messages > Email Templates)
      • Invite a developer user (/buyers/accounts/<account_id>/invitations)
      • Check that this new developer user will receive an email with the old template instead the new one
      Show
      SaaS Unable to reproduce on a test account but it can be reproduced on an account repeatedly once it hits the issue the first time. Edit the "Signup notification for buyer" email template Signup with a new user from the /signup form on the Developer portal Observe the old template is sent to the user's email account On-premise * Edit the Invitation email template (Audience > Messages > Email Templates) Invite a developer user (/buyers/accounts/<account_id>/invitations) Check that this new developer user will receive an email with the old template instead the new one

      From the developer portal, when editing an email template, we need to redeploy the system-sidekiq pod in order to have the new template content in effect. I'm not sure whether this is the right flow in on-premise since we don't need to redeploy or wait for any sync when testing on SaaS.

      Analyzing the system-app logs we can see that the email templates are being updated correctly in both system tables (cms_templates and cms_templates_versions). We can also retrieve the correct email template in rails console on Sidekiq.

            Unassigned Unassigned
            gpereira@redhat.com Gustavo Pereira
            Matej Dujava Matej Dujava
            Joan Lledo Joan Lledo
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: