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

Groovy error using context.setAttribute #2455

Closed
vdusauto opened this issue Jul 11, 2019 · 0 comments

Comments

@vdusauto
Copy link

commented Jul 11, 2019

context.setAttribute('anyKey',0) does not seem to be working anymore
Possibly linked to : gravitee-io/gravitee-policy-groovy@0ae8196

Expected Behavior

Set an attribute called anyKey wtih value 0

Current Behavior

Throwing a 500 error

Possible Solution

Steps to Reproduce (for bugs)

Add context.setAttribute('anyKey',0) in any groovy

Context

Your Environment

Gravitee APIM 1.25 and above

@brasseld brasseld added the type: bug label Jul 11, 2019
brasseld added a commit to gravitee-io/gravitee-policy-groovy that referenced this issue Jul 18, 2019
Some unit tests have been added.

Closes gravitee-io/issues#2455
@brasseld brasseld self-assigned this Jul 18, 2019
@NicolasGeraud NicolasGeraud added this to the APIM - 1.25.11 milestone Aug 22, 2019
brasseld added a commit to gravitee-io/gravitee-policy-groovy that referenced this issue Sep 5, 2019
Some unit tests have been added.

Closes gravitee-io/issues#2455
aelamrani added a commit to gravitee-io/gravitee-policy-groovy that referenced this issue Sep 5, 2019
Some unit tests have been added.

Closes gravitee-io/issues#2455
@aelamrani aelamrani closed this Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
API Management
Awaiting triage
4 participants
You can’t perform that action at this time.