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

ContentPickerValueConverter should be public #13858

Closed
simonech opened this issue Feb 20, 2023 · 4 comments
Closed

ContentPickerValueConverter should be public #13858

simonech opened this issue Feb 20, 2023 · 4 comments

Comments

@simonech
Copy link
Contributor

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

11.0

Bug summary

Why is ContentPickerValueConverter internal while all other value converters are public?

Specifics

https://github.com/umbraco/Umbraco-CMS/blob/v11/dev/src/Umbraco.Core/PropertyEditors/ValueConverters/ContentPickerValueConverter.cs

See others:
https://github.com/umbraco/Umbraco-CMS/blob/v11/dev/src/Umbraco.Core/PropertyEditors/ValueConverters/MultipleTextStringValueConverter.cs
https://github.com/umbraco/Umbraco-CMS/blob/v11/dev/src/Umbraco.Core/PropertyEditors/ValueConverters/MediaPickerValueConverter.cs

Steps to reproduce

Try writing an custom property editor that is just a content picker with some "preview" features, and try inheriting from that the core ContentPickerValueConverter.
You cannot.

Expected result / actual result

While you should be able to do so, like you can for all other Value Converters

@github-actions
Copy link

Hi there @simonech!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

  • We'll assess whether this issue relates to something that has already been fixed in a later version of the release that it has been raised for.
  • If it's a bug, is it related to a release that we are actively supporting or is it related to a release that's in the end-of-life or security-only phase?
  • We'll replicate the issue to ensure that the problem is as described.
  • We'll decide whether the behavior is an issue or if the behavior is intended.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot 🤖 🙂

@simonech
Copy link
Contributor Author

I mean, it's an easy fix that anyone can do as PR, but first would need to know if it was done on purpose or was just something forgotten by mistake

@Zeegaan
Copy link
Member

Zeegaan commented Feb 20, 2023

@simonech Yep you are right, doesn't make sense to have it as the only internal one, seems like an error to me 👍
I will mark this as up for grabs and as a great first issue 👍

simonech added a commit to simonech/Umbraco-CMS that referenced this issue Feb 20, 2023
Changed internal to public for ContentPickerValueConverter, which was the only property value converter defined as `internal`
Fixes issue umbraco#13858
simonech added a commit to simonech/Umbraco-CMS that referenced this issue Feb 20, 2023
Changed internal to public for ContentPickerValueConverter, which was the only property value converter defined as `internal`
Fixes issue umbraco#13858
Zeegaan pushed a commit that referenced this issue Feb 21, 2023
Changed internal to public for ContentPickerValueConverter, which was the only property value converter defined as `internal`
Fixes issue #13858
@Zeegaan
Copy link
Member

Zeegaan commented Feb 21, 2023

Fixed in #13864 😁

@Zeegaan Zeegaan closed this as completed Feb 21, 2023
nul800sebastiaan pushed a commit that referenced this issue Mar 16, 2023
Changed internal to public for ContentPickerValueConverter, which was the only property value converter defined as `internal`
Fixes issue #13858

(cherry picked from commit 362832b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants