Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • konius 17 posts 47 karma points
    Jul 09, 2024 @ 10:05
    konius
    0

    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?

    enter image description here

    Is the only option to pick document types that do not vary by culture?

    Thank you

  • Richard Soeteman 4045 posts 12893 karma points MVP 2x
    Jul 09, 2024 @ 10:42
    Richard Soeteman
    0

    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

  • konius 17 posts 47 karma points
    Jul 09, 2024 @ 10:54
    konius
    0

    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?

  • Richard Soeteman 4045 posts 12893 karma points MVP 2x
    Jul 10, 2024 @ 10:54
    Richard Soeteman
    0

    No because .url() will return "#" since a culture is required, therefore I implemented this warning

  • konius 17 posts 47 karma points
    Jul 10, 2024 @ 12:47
    konius
    0

    I'm actually having issues with the invariant node. Trying this on my new install that replicates client setup.

    • Home node (varies)
    • Text page node (invariant)

    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

    enter image description here

    enter image description here

    enter image description here

    enter image description here

    enter image description here

  • konius 17 posts 47 karma points
    Jul 12, 2024 @ 09:18
    konius
    0

    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

  • Richard Soeteman 4045 posts 12893 karma points MVP 2x
    Jul 12, 2024 @ 09:22
    Richard Soeteman
    0

    Should only be the login node, maybe rebuild the cache?

  • konius 17 posts 47 karma points
    Jul 12, 2024 @ 10:00
    konius
    0

    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"

  • konius 17 posts 47 karma points
    Jul 18, 2024 @ 09:07
    konius
    0

    Hi Richard,

    Are you able to help with this?

  • Richard Soeteman 4045 posts 12893 karma points MVP 2x
    27 days ago
    Richard Soeteman
    0

    Hi,

    Weird but the url should be picked up with spcifying null as culture.

  • konius 17 posts 47 karma points
    27 days ago
    konius
    0

    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.

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft