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

Fix the update API call failure in outbound provisioning #6853

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fast-chicken-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/admin.connections.v1": patch
---

Fix the update API call failure in outbound provisioning
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,19 @@ export const CommonPluggableComponentForm: FunctionComponent<CommonPluggableComp
// Check whether the property is not in the metadata.
if (!metadata?.properties?.find(
(meta: CommonPluggableComponentMetaPropertyInterface) => meta.key === property.key)) {
values.push(property.key + "=" + property.value);

// Check whether the property is not in the subproperties of metadata.
metadata?.properties.forEach((meta: CommonPluggableComponentMetaPropertyInterface) => {
meta?.subProperties.forEach((subProperties: CommonPluggableComponentMetaPropertyInterface) => {

dasuni-30 marked this conversation as resolved.
Show resolved Hide resolved
// Check whether the property is not in the subproperties metadata.
if (!meta?.subProperties?.find(
(subProperties: CommonPluggableComponentMetaPropertyInterface) =>
subProperties.key === property.key)) {
values.push(subProperties.key + "=" + property.value);
}
});
});
}
});
setCustomProperties(values.join(", "));
Expand Down
Loading