U4-9935 - UmbracoHelper doesn't have querying methods for handling UDI

Created by Shannon Deminick 19 May 2017, 01:19:39 Updated by Claus Jensen 29 May 2017, 07:35:47

Subtask of: U4-9609

There's a few issues here, the underlying ITypedPublishedContentQuery does not cater for GUID id's for media which we should fix but we can't do this currently without a breaking change.

In the meantime we can add GUID/UDI methods to the UmbracoHelper for fetching media/content/members

Comments

Shannon Deminick 19 May 2017, 01:44:48

PR here https://github.com/umbraco/Umbraco-CMS/pull/1953

  • Obsoleted and hidden the UdiExtensions class, this should not be used
  • Created methods on UmbracoHelper for content, media, members to support UDIs (and GUIDs in some cases)
  • Updated all property value converters to use these methods instead of the UdiExtensions method
  • Adds some null checks for UmbracoContext.Current on these property value converters

To test, ensure that these property value converters work as expected.


Claus Jensen 29 May 2017, 07:35:41

Confirmed that the UmbracoHelper methods works and that the value converters also work. Have merged in.


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.6.2

Sprint:

Story Points:

Cycle: 1