Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

U4-7891 Image Cropper needs a property value converter to return a strongly typed model, json or a string when requested. #1098

Merged
merged 5 commits into from Feb 10, 2016

Conversation

Shazwazza
Copy link
Contributor

No description provided.

@@ -8,6 +8,7 @@ namespace Umbraco.Core.PropertyEditors
/// <summary>
/// Manages the list of IPropertyEditorValueConverter's
/// </summary>
[Obsolete("IPropertyValueConverter is obsolete, but we need to support them until v8, to resolve the correct converter types use: PropertyValueConvertersResolver")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be sure, IPropertyEditorValueConverter is obsolete, not IPropertyValueConverter, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IPropertyEditorValueConverter is the obsolete one, whoops, will change the text

…box (since it's like that in the Core one that this overrides), adds new converter for Image cropper including ToString converter & custom type converter to convert from the strongly typed object to JObject, adds test to support this, adds equatable methods for the strongly typed model so it can be easily compared. Ensures that the webboot manager does not include the core value converter for image cropper.
Shazwazza added a commit that referenced this pull request Feb 10, 2016
U4-7891 Image Cropper needs a property value converter to return a strongly typed model, json or a string when requested.
@Shazwazza Shazwazza merged commit 5648617 into dev-v7 Feb 10, 2016
@Shazwazza Shazwazza deleted the temp-U4-7891 branch February 10, 2016 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants