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

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

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.
Properties

Article ID: 3036201 - Last Review: 06/22/2015 14:49:00 - Revision: 2.0

Microsoft SQL Server 2012 Service Pack 2, Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Standard, Microsoft SQL Server 2014 Service Pack 1

  • kbqfe kbfix kbsurveynew kbexpertiseadvanced KB3036201
Feedback