Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Impossible configure Alma if PS Account version is lower 5.0 #589

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Benjamin-Freoua-Alma
Copy link
Member

Reason for change

Linear task

Code changes

We added a verification version of PS Account. If PS Account was lower that 5.0 PS Account Service returned an error that we didn't handle.
Now if the version is lower 5.0 we suggest to install the PS Account module (default message)

How to test

As a reviewer, you are encouraged to test the PR locally.

Install Ps Account lower that 5.0.
Install our module.
Try to configure it

Checklist for authors and reviewers

  • The title of the PR uses business wording, not technical jargon, for the changelog readers to understand it
  • The PR implements the changes asked in the referenced task / issue
  • The automated tests are compliant with the testing strategy
  • You understand the impact of this PR on existing code/features
  • Documentation is updated (API, developer documentation, ADR, Notion...)

Non applicable

  • The tests are relevant, and cover the corner/error cases, not only the happy path
  • The changes include adequate logging and Datadog traces

This comment has been minimized.

This comment has been minimized.

Copy link

⏳E2E tests are currently running.
➡️ You can follow their progression here.

Copy link

sonarcloud bot commented Oct 24, 2024

Comment on lines 631 to +632
$this->checkCompatibilityPSModule();
$this->checkPsAccountCompatibility();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method names are a bit confusing, maybe you should:

  • Only call $this->checkPsAccountCompatibility(); here
  • Rename checkCompatibilityPSModule to checkPSAccountsPresence or something similar
  • Call it from checkPsAccountCompatibility as a first check

Copy link

❌ E2E tests have failed.
➡️ You can find the results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants