ssis-build icon indicating copy to clipboard operation
ssis-build copied to clipboard

Incorrect expression to sensitive property remove with protectionLevel = DontSaveSensitive

Open MelnikovIG opened this issue 4 years ago • 0 comments

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: https://github.com/rtumaykin/ssis-build/blob/dac34b52395efc2a40e6ec901d2f254d6880a136/src/SsisBuild.Core/ProjectManagement/ProjectFile.cs#L159-L160

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 avatar Apr 09 '20 14:04 MelnikovIG