U4-2815 - The code to determine the macro type is currently case sensitive

Created by Shannon Deminick 10 Sep 2013, 01:05:21 Updated by Shannon Deminick 10 Sep 2013, 01:28:21

Relates to: U4-2644

This code block in Macro.FindMacroType

return (scriptFile.StartsWith(SystemDirectories.MvcViews + "/MacroPartials/") || (Regex.IsMatch(scriptFile, "~/App_Plugins/.+?/Views/MacroPartials", RegexOptions.Compiled))) ? MacroTypes.PartialView : MacroTypes.Script;

Needs to be changed to not be case sensitive.

Comments

Shannon Deminick 10 Sep 2013, 01:28:21

b2deb3def3027314d80813670ab5e1a1f3d63052


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 4.10.0, 4.11.0, 6.0.0, 6.1.0, 4.11.1, 4.11.2, 4.11.3, 4.11.4, 6.0.1, 4.11.5, 6.0.2, 4.11.6, 6.0.3, 6.0.4, 4.11.7, 6.1.1, 6.0.6, 4.11.9, 6.0.5, 4.11.8, 6.0.7, 6.1.2, 4.10.1, 4.11.10, 6.1.3, 6.1.4, 6.1.5

Due in version: 6.2.0

Sprint:

Story Points:

Cycle: