wso2 / charon

121 stars 164 forks source link

Fix the null pointer in operations json list. #405

Closed Malith-19 closed 4 months ago

Malith-19 commented 4 months ago

Purpose

Fix https://github.com/wso2/product-is/issues/19409

This issue occures, when a invalid operation schema field given since it only acceptsOperations` field. Once json schema not contains this filed correctly it will create a null pointer and raise an error in a for loop used to iterate that operation list.

Goals

Handle the internal error in PATCH scim2/v2/roles/{id} API.

Approach

Security checks

Samples

image

Related PRs

https://github.com/wso2/docs-is/pull/4395

CLAassistant commented 4 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Malith-19 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

jenkins-is-staging commented 4 months ago

PR builder started Link: https://github.com/wso2/product-is/actions/runs/9723735849

jenkins-is-staging commented 4 months ago

PR builder completed Link: https://github.com/wso2/product-is/actions/runs/9723735849 Status: success