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

multiple HandlePolicyViolationError per object #378

Closed
pfranck opened this issue Oct 16, 2017 · 2 comments
Closed

multiple HandlePolicyViolationError per object #378

pfranck opened this issue Oct 16, 2017 · 2 comments
Assignees

Comments

@pfranck
Copy link

pfranck commented Oct 16, 2017

Hi !
Is it possible to change in the example the line 105 :

by : $operation->setExemptionRequests(array_merge($operation->getExemptionRequests()?:[],[ new ExemptionRequest($error->getKey())])); to handle the multi policyViolationError

thanks a lot

@fiboknacky fiboknacky self-assigned this Oct 17, 2017
@fiboknacky
Copy link
Member

Hello @pfranck,

Thanks for suggestion.
This is in our radar already. I'll leave this opened until I push the change.

Best,
Knack

@fiboknacky
Copy link
Member

This is fixed with v32.0.0.

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

No branches or pull requests

2 participants