KB3036201 - FIX: The notification email link is broken when a special character is part of the URL in SQL Server 2012 or SQL Server 2014 MDS

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

Symptoms

Consider the following scenario:

  • You use Microsoft SQL Server 2012 or SQL Server 2014 Master Data Services (MDS).
  • You have an attribute that contains a value with a special character (such as the "+" symbol) in an entity.
  • You define a business rule on this entity, and configure it to send an email notification when the validation fails.

In this scenario, the link in the notification email is broken and incorrect. For example, the "+" symbol is replaced by "%2b" which is incorrect. Therefore, the link cannot direct to the expected record within MDS.

Cause

This issue occurs because, when Silverlight retrieves the code value from QueryString collection, it calls UrlDecode. However, the value in the QueryString collection has already been decoded by MDS. Therefore, an unnecessary UrlDecode is performed.

Resolution

The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 1 for SQL Server 2014 SP1 /en-us/help/3067839

Cumulative Update 8 for SQL Server 2014 /en-us/help/3067836

Cumulative Update 5 for SQL Server 2012 SP2 /en-us/help/3037255

About cumulative updates 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:

      

      

Status

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