Skip to content

Fix(Subscription errors): handle expired + connectivity error

What does this MR do and why?

This MR updates the errors messages for the subscription activation:

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

Situation Before After
License expired Screen_Shot_2022-05-06_at_14.50.02 Screen_Shot_2022-05-06_at_14.46.57
Connectivity issue Screen_Shot_2022-05-06_at_16.08.32 Screen_Shot_2022-05-06_at_16.09.19

How to set up and validate locally

  1. Apply this patch: simulate-connectivity-error.patch

  2. Visit the subscription page: http://localhost:3000/admin/subscription

  3. Click the Enter activation code button and type in a valid activation code (purchased through CustomersDot)

  4. See the (updated) connectivity error message appear

  5. Apply this patch: simulate-license-expired-error.patch

  6. Visit the subscription page: http://localhost:3000/admin/subscription

  7. Click the Enter activation code button and type in a valid activation code (purchased through CustomersDot)

  8. See the expired license error message appear

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Michael Lunøe

Merge request reports

Loading