We have moved to GitHub Issues
Created by Jeavon Leopold 30 Jan 2014, 13:18:32 Updated by Stephan 30 Jan 2014, 15:22:07
Relates to: U4-3776
If a media picker has nothing or single item selected it returns an int rather than a string, it should always return a string using a value converter in the same way as the MNTP picker
I should close this as duplicating U4-3776. Jeavon, any reason why you created that issue again?
This is a different editor, this time it's multi media picker, I will submit a PR in a minute or two
Ah yes of course it's different. Fixed, don't bother with the PR, I'll push the fix in a few minutes.
Cool, make sure the converter is for Constants.PropertyEditors.MultipleMediaPickerAlias and not Constants.PropertyEditors.MediaPickerAlias
Just pushed 56cd1ce into 7.0.3... it creates a MustBeStringValueConverter that currently supports Constants...MultiNodeTreePickerAlias, and Constants...MultipleMediaPickerAlias, and can be extended for any property editor that has to return a string. Better than creating plenty of converters that all do the same thing. Making sense?
Brilliant, I'm sure that will be useful for others in the future!
Considering it fixed.
Backwards Compatible: True
Affected versions: 7.0.2
Due in version: 7.0.3