Since Mediaprotect can't determine the culture based on /media/etc I can only redirect to a page without a culture. Best to create a doctype for this without setting vary by culture. then all works.
I'm trying to understand what is the problem, because as a temporary solution I had to create two invariant nodes and keep them outside the Home structure that varies.
What you're describing as the expected behaviour doesn't work.
The login page you selected is multilingual
Hi,
We're experiencing an issue on a site that is multilingual. This error is by design, but not sure what's the best practise here?
Is the only option to pick document types that do not vary by culture?
Thank you
Hi,
Since Mediaprotect can't determine the culture based on /media/etc I can only redirect to a page without a culture. Best to create a doctype for this without setting vary by culture. then all works.
Best,
Richard
Is there a way to bypass this with config and still pick a node that varies, but use it's first available .Url() or something similar?
No because .url() will return "#" since a culture is required, therefore I implemented this warning
I'm actually having issues with the invariant node. Trying this on my new install that replicates client setup.
I setup the protection nodes on a media item (allows me to pick them), but when I visit the URL I still get # at the of the URL and an error.
https://localhost:44312/media/0d3dd04k/h209156_p397669_handw_leaflet_covers_page-12-3.jpg#
This page isn’t working localhost redirected you too many times. Try deleting your cookies. ERR_TOO_MANY_REDIRECTS
Could you advise what could be the issue here?
MediaProtect 13.1.0 Umbraco.Cms 13.1.1
Hi Richard,
Am I correct understanding that not just the node needs to be invariant, but the ancestors too?
Picking the node passes the validation, but I am still getting the "#" redirect error when Home node is set to vary.
Thanks
Should only be the login node, maybe rebuild the cache?
I tried it.. not sure if it's something obvious that I am missing.
As soon as I remove "vary by culture" it works, and as soon as I add it back it breaks.
Created a new repo with 2 document types and a protected node (as in the screenshots above):
https://github.com/konius/media-protect-issue
Any chance you could have a look at some point and hopefully it's just my mistake setting it up?
--email "[email protected]" --password "1234567890"
Hi Richard,
Are you able to help with this?
Hi,
Weird but the url should be picked up with spcifying null as culture.
Hi Richard,
Were you able to spin up the repository?
I'm trying to understand what is the problem, because as a temporary solution I had to create two invariant nodes and keep them outside the Home structure that varies.
What you're describing as the expected behaviour doesn't work.
is working on a reply...