-
Notifications
You must be signed in to change notification settings - Fork 69
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
incorrect handling of multiple behavior or criteria with duplicate names #56
Comments
I was able to duplicate this and can support having criteria as duplicates properly stored with a fix to library do you have an example of duplicate behaviors I can test with ? |
@martinstibbe here's one...
|
#59 |
Merged into master and tagged as v.0.9.2 |
thanks @martinstibbe -- are you a maintainer for the Terraform provider too so we can get a release cut using this version of the golang pkg? |
Yes queuing this in next release
…Sent from my iPhone
On Nov 25, 2019, at 6:01 AM, S. Brent Faulkner ***@***.***> wrote:
thanks @martinstibbe -- are you a maintainer for the Terraform provider too so we can get a release cut using this version of the golang pkg?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks for your help in testing this one. |
I'm using terraform to provision a property, and ran into a case where it drops behaviors (and criteria).
It happens whenever the "name" is the same for two behaviours (or two criteria) within the same rule.
eg.
if I terraform a property with the following rule...
I get a property with the rule below (ie. only the last criteria)...
This is be a bug in this underlying go package... ie. this code replaces duplicate names instead of adding them...
https://github.com/akamai/AkamaiOPEN-edgegrid-golang/blob/master/papi-v1/rules.go#L221-L277
While the tests indicate this is intended behaviour, it doesn't make sense for behaviors or criteria, since names can be duplicates by design.
The text was updated successfully, but these errors were encountered: