-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix for bug #18129 #18137
base: contrib
Are you sure you want to change the base?
Fix for bug #18129 #18137
Conversation
…UrlNew and updated deprecated services
Hi there @yiangos, thank you for this contribution! 👍 While we wait for one of the Core Collaborators team to have a look at your work, we wanted to let you know about that we have a checklist for some of the things we will consider during review:
Don't worry if you got something wrong. We like to think of a pull request as the start of a conversation, we're happy to provide guidance on improving your contribution. If you realize that you might want to make some changes then you can do that by adding new commits to the branch you created for this work and pushing new commits. They should then automatically show up as updates to this pull request. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
I don't understand, how can I fix the errors in the build? the project builds without any issues on VS 2022... |
Just leaving a note here that changing the signature of public methods results in breaking changes for anyone using Umbraco that has consumed any of those methods, that's what the build errors seem to point at. Usually we deal with that by providing overloads for the existing methods while pointing the original public methods to the new overload. I haven't looked at the code, so I don't know if this is a viable option here. |
But I didn't change any public methods... |
Hi @yiangos Just noticed this in the
Thanks |
Sorry, had to run the other day so I left a quick comment with what I learned from the build errors. The public method Additionally, the So I would like to take a step back here first and ask: what is it that you're trying to accomplish here? To me, it reads like you wanted to refactor something to make Umbraco better. Which is nice, but we usually discourage that kind of thing because there could be a good reason behind the fact that the CMS team hasn't refactored this part yet. My question then is: was there another reason you wanted to change this code? Maybe we can help you find a way that doesn't produce breaking changes. |
Change base class of ContentFinderByUrlAndTemplate to ContentFinderByUrlNew and update deprecated services
Prerequisites
This fixes #18129
Description