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

Gilt für: SQL Server 2012 DeveloperSQL Server 2012 EnterpriseSQL Server 2012 Standard Mehr

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

Cumulative Update 8 for SQL Server 2014

Cumulative Update 5 for SQL Server 2012 SP2


Status


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