KB3198261 - FIX: MDS business rule doesn't work if the Code value contains a leading space in SQL Server MDS Add-in for Excel

Applies To
SQL Server 2012 Developer SQL Server 2012 Enterprise SQL Server 2012 Enterprise Core SQL Server 2014 Developer - duplicate (do not use) SQL Server 2014 Enterprise - duplicate (do not use) SQL Server 2014 Enterprise Core - duplicate (do not use) SQL Server 2016 Developer - duplicate (do not use) SQL Server 2016 Enterprise - duplicate (do not use) SQL Server 2016 Enterprise Core - duplicate (do not use) SQL Server 2016 Standard - duplicate (do not use)

Symptoms

Consider the following scenario:

  • You create a business rule in SQL Server Master Data Services (MDS).
  • You restrict the value of the Code attribute in the business rule to be a positive number only.
  • You publish a new entry in the MDS Add-in for Microsoft Excel.

In this scenario if the Code attribute contains a leading space, the attribute is invalid and the ValidationStatus column incorrectly displays Validation Succeeded. However when the data is refreshed, the ValidationStatus column correctly displays Validation Failed.

Resolution

Update information

This issue is fixed in the following cumulative updates for SQL Server:

Cumulative Update 6 for SQL Server 2012 Service Pack 3

Cumulative Update 10 for SQL Server 2014 SP1

Cumulative update 3 for SQL Server 2014 SP2

Cumulative Update 4 for SQL Server 2016

Recommendation: Install the latest cumulative update for SQL Server

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

Latest cumulative update for SQL Server 2012 SP3
        
        Latest cumulative update for SQL Server 2014 SP1/SP2
        
        Latest cumulative update for SQL Server 2016
      

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology that Microsoft uses to describe software updates.