U4-9436 - Add support for GUIDs in media and content pickers

Created by Sebastiaan Janssen 25 Jan 2017, 07:36:53 Updated by Sebastiaan Janssen 25 Jan 2017, 16:50:37

Relates to: U4-9435

NOTE: While this is technically not backwards compatible, we don't encourage the use of methods on controllers in the Umbraco.Web.Editors namespace. The documentation about this will be updated shortly. https://our.umbraco.org/Documentation/Development-Guidelines/breaking-changes


Sebastiaan Janssen 25 Jan 2017, 07:37:01

Fixed in: https://github.com/umbraco/Umbraco-CMS/pull/1679

Sebastiaan Janssen 25 Jan 2017, 11:17:01

The breaking change is that this method signature was changed: https://github.com/umbraco/Umbraco-CMS/commit/1a9f336a59bf8d34064d224de3d4b4c026be5bcb#diff-80d4b439a8e5b429ad8bd4d2a6e21408L178

So if you're using the following method: Umbraco.Web.Editors.MediaController.GetChildren(int id, int pageNumber = 0, int pageSize = 0, string orderBy = "SortOrder", Direction orderDirection = Direction.Ascending, bool orderBySystemField = true, string filter = "")

You will need to change this, the int id parameter turned into string id, which means you can call the method in the same way but with an extra .ToString() on that first parameter.

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: False

Fix Submitted:

Affected versions:

Due in version: 7.5.8


Story Points: