U4-9863 - Udi for PartialViewMacro with spaces are generated in an unsupported format

Created by Mikkel Holck Madsen 05 May 2017, 12:06:41 Updated by Shannon Deminick 24 May 2017, 05:41:06

Relates to: deploy-307

Subtask of: U4-9609

When generating a Udi for ar PartialViewMacro, it is currently taking the files PAth, and adding it as part of the Udi. If that path is containing a space, the space will directly become part of the udi. The udi needs to be in a well-formed URI format, which it isnt when containing the spaces. Therefore the UdiString class should take care of this, by escapes the spaces, when creating the udi.

This related to deploy-307 where Deploy is unable to restore PartialViewMacros if they contain spaces in their names.

Comments

Mikkel Holck Madsen 05 May 2017, 12:07:01

Fix has been submitted here: https://github.com/umbraco/Umbraco-CMS/commit/eb949e2cbc1a47619a259b807d59f4f00362e57a


Priority: Major

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category: Architecture

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.6.0

Due in version: 7.6.1

Sprint:

Story Points:

Cycle: 1