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

[FEATURE] Autoriser un participant avec une participation précédente supprimée à re-participer (PIX-15809) #11934

Conversation

machestla
Copy link
Contributor

🌸 Problème

Ce bout de code ne sera plus fonctionnel car la suppression d'une participation anonymisera cette dernière. Nous ne pourrons donc plus vérifier ce cas.

🌳 Proposition

Supprimer cette condition

🐝 Remarques

J'ai laissé le test car j'ai testé que ça ne throw pas.

🤧 Pour tester

  • participer à une campagne via Pix
  • supprimer la participation via PixOrga
  • re-participer à la campagne avec le même utilisateur via Pix

@machestla machestla self-assigned this Apr 2, 2025
@machestla machestla requested a review from a team as a code owner April 2, 2025 07:39
@pix-bot-github
Copy link

Une fois les applications déployées, elles seront accessibles via les liens suivants :

Les variables d'environnement seront accessibles via les liens suivants :


expect(error).to.be.an.instanceof(ForbiddenAccess);
expect(error.message).to.equal('Vous ne pouvez pas repasser la campagne');
expect(() => campaignParticipant.start({ participantExternalId: null })).to.not.throw();
Copy link
Member

Choose a reason for hiding this comment

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

proposition: on pourrait supprimer le test complétement car la propriété previousCampaignParticipationForUser sera vide en cas de participation anonymisée.

Copy link
Member

@lionelB lionelB left a comment

Choose a reason for hiding this comment

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

review en pair avec 🐈‍⬛ et 🪂

@machestla machestla force-pushed the pix-15809-re-participate-to-campaign-after-participation-deleted branch from 95dd7a3 to 0c6fb13 Compare April 3, 2025 09:07
@alicegoarnisson alicegoarnisson added Func Review OK PO validated functionally the PR Tech Review OK 🚀 Ready to Merge and removed 👀 Tech Review Needed 👀 Func Review Needed Need PO validation for this functionally labels Apr 4, 2025
@pix-service-auto-merge pix-service-auto-merge force-pushed the pix-15809-re-participate-to-campaign-after-participation-deleted branch from 0c6fb13 to 6704db5 Compare April 4, 2025 07:45
@yaf yaf force-pushed the pix-15809-re-participate-to-campaign-after-participation-deleted branch from 6704db5 to eabe6bb Compare April 4, 2025 08:02
@pix-service-auto-merge pix-service-auto-merge merged commit d58d104 into dev Apr 4, 2025
9 of 11 checks passed
@pix-service-auto-merge pix-service-auto-merge deleted the pix-15809-re-participate-to-campaign-after-participation-deleted branch April 4, 2025 08:09
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.

5 participants