mmajcica / DeploySsrs

Build-Release task for VSTS/TFS that manages Microsoft's SQL Server Reporting Services
MIT License
21 stars 21 forks source link

"Report" used for name when Name attribute missing in XML configuration #62

Open mheptinstall opened 4 years ago

mheptinstall commented 4 years ago

When using an XML file for the configuration, if the Name attribute is not specified on the Report element "Report" is used as the name when deploying.

https://github.com/mmajcica/DeploySsrs/blob/4489e1d5e3e37c94515fad162bf2619dd059d066/task/ps_modules/ssrs.psm1#L599

I am not sure where the "Report" value is coming from as I've the options below and Name is still being set to "Report":

The ValidateNotNullOrEmpty validation attribute on the class doesn't generate an error as the value is neither null or empty.