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

toJson implementation for IamPolicy.java class is wrong. #4481

Closed
coder0610 opened this issue Sep 26, 2023 · 2 comments
Closed

toJson implementation for IamPolicy.java class is wrong. #4481

coder0610 opened this issue Sep 26, 2023 · 2 comments
Labels
bug This issue is a bug.

Comments

@coder0610
Copy link

Describe the bug

In toJson implementation, actions are being added to resources field.
Because of this, wrong json document is getting created.

image

Expected Behavior

toJson method should create correct json.

Current Behavior

In toJson implementation, actions are being added to resources field.
Because of this, wrong json document is getting created.

Reproduction Steps

Create a IamPolicy.java object , add resources to it.
Then convert it to json by calling toJson method.

Possible Solution

No response

Additional Information/Context

No response

AWS Java SDK version used

2.20.109

JDK version used

java 17

Operating System and version

windows 11

@coder0610 coder0610 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 26, 2023
@debora-ito debora-ito removed the needs-triage This issue or PR still needs to be triaged. label Sep 26, 2023
@debora-ito
Copy link
Member

@stripathi1988 that was fixed via #4223. Please upgrade to version 2.20.111 or later.

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants