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

Incorrect expression to sensitive property remove with protectionLevel = DontSaveSensitive #44

Open
MelnikovIG opened this issue Apr 9, 2020 · 0 comments

Comments

@MelnikovIG
Copy link

Assume we have expression to property:
<property dataType="System.String" expressionType="Notify" name="password" Sensitive="1"></property>

When i am building my project with ssisbuild, this expression is removed. Possible place where this is happen:

if (protectionLevel == ProtectionLevel.DontSaveSensitive)
sensitiveElement.ParentNode?.RemoveChild(sensitiveElement);

But this behaviour is different what VisualStudio does! Visual studio didn't remove expressions to sensitive properties even with protectionLevel = DontSaveSensitive. So this package became broken, and when you try to use it on SSISDB, you package will not assign this parameter.

@MelnikovIG MelnikovIG changed the title Incorrect expression remove with protectionLevel = DontSaveSensitive Incorrect expression to sensitive property remove with protectionLevel = DontSaveSensitive Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant