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

Unsupported SFDC configuration does not produce any errors #564

Closed
afelisatti opened this issue Nov 26, 2021 · 1 comment
Closed

Unsupported SFDC configuration does not produce any errors #564

afelisatti opened this issue Nov 26, 2021 · 1 comment
Labels

Comments

@afelisatti
Copy link

Version used
1.2.0

Describe the bug
When a deprecated component from the Salesforce connector is handled by the tool, it remains as is instead of being commented and generating a report entry saying it's unsupported.

Expected Behavior
An ERROR report entry should be generated explaining it's not supported and the code commented to avoid invalid Mule 4 content.

Actual Behavior
This config remains the same, with no report entries:

<sfdc:config-oauth-user-pass name="Salesforce__Basic_Authentication"
                consumerKey="${sfdc.consumerkey}" consumerSecret="${sfdc.consumersecret}"
                username="${sfdc.username}" password="${sfdc.password}"
                securityToken="${sfdc.securitytoken}" tokenEndpoint="${sfdc.authurl}"
                doc:name="ct_salesforce" readTimeout="${sfdc.read.timeout}"
                disableSessionInvalidation="true">
                <reconnect count="${sfdc.reconnect.attemptcount}"
                        frequency="${sfdc.reconnect.frequency}" />
        </sfdc:config-oauth-user-pass>

Reproducible Test Case
I haven't tried reproducing the error. I think the most concerning part is that there seems to be a mechanism to automatically report and comment components when their namespace is unknown but nothing for this scenario where the namespace is known but the element isn't.

@jesica-fera
Copy link
Contributor

This issue has been fixed by the associated PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants