U4-7115 - Possible Null Reference Exception when rendering a grid Textstring that doesn't include style information [v7.2.8]

Created by Heather L Floyd 17 Sep 2015, 13:14:21 Updated by Sebastiaan Janssen 24 Oct 2017, 07:34:18

Tags: Unscheduled PR

Subtask of: U4-9609

When creating a customized grid editor which uses the Textstring as the base, if there is no style information specified. This can be fixed easily with a null-check on the style before attempting to render it in Textstring.cshtml.


Heather L Floyd 17 Sep 2015, 13:16:15

I have submitted a fix: https://github.com/umbraco/Umbraco-CMS/pull/789

Stephan 17 Oct 2017, 13:02:02

merged the PR thanks!

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Very Easy


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.3.0, 7.2.8, 7.3.1

Due in version: 7.7.4

Sprint: Sprint 70

Story Points: 1