We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
V15
The URLs returned by IUrlProvider.GetOtherUrls(int id, Uri current) are not listed in the V15 backoffice.
IUrlProvider.GetOtherUrls(int id, Uri current)
Given the following URL provider:
using Umbraco.Cms.Core.Composing; using Umbraco.Cms.Core.Models.PublishedContent; using Umbraco.Cms.Core.Routing; namespace Umbraco.Cms.Web.UI.Custom; public class MyUrlProvider : IUrlProvider { public UrlInfo? GetUrl(IPublishedContent content, UrlMode mode, string? culture, Uri current) => null; public IEnumerable<UrlInfo> GetOtherUrls(int id, Uri current) => [ new UrlInfo($"https://some.where/{id}", true, null) ]; } public class MyUrlProviderComposer : IComposer { public void Compose(IUmbracoBuilder builder) => builder.UrlProviders().Insert<MyUrlProvider>(); }
V13 lists the "other URLs":
...but V15 does not:
Indeed, the "other URLs" ($"https://some.where/{id}") aren't included in the endpoint response:
Add the example URL provider to a V15 site and rebuild. The "other URLs" are missing from the "Info" section.
No response
The text was updated successfully, but these errors were encountered:
nikolajlauridsen
No branches or pull requests
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
V15
Bug summary
The URLs returned by
IUrlProvider.GetOtherUrls(int id, Uri current)
are not listed in the V15 backoffice.Specifics
Given the following URL provider:
V13 lists the "other URLs":
...but V15 does not:
Indeed, the "other URLs" ($"https://some.where/{id}") aren't included in the endpoint response:
Steps to reproduce
Add the example URL provider to a V15 site and rebuild. The "other URLs" are missing from the "Info" section.
Expected result / actual result
No response
The text was updated successfully, but these errors were encountered: