Copied to clipboard

Flag this post as spam?

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


  • konius 16 posts 46 karma points
    1 week ago
    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 4042 posts 12890 karma points MVP 2x
    1 week ago
    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 16 posts 46 karma points
    1 week ago
    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 4042 posts 12890 karma points MVP 2x
    1 week ago
    Richard Soeteman
    0

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

  • konius 16 posts 46 karma points
    1 week ago
    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 16 posts 46 karma points
    1 week ago
    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 4042 posts 12890 karma points MVP 2x
    1 week ago
    Richard Soeteman
    0

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

  • konius 16 posts 46 karma points
    1 week ago
    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 16 posts 46 karma points
    4 days ago
    konius
    0

    Hi Richard,

    Are you able to help with this?

Please Sign in or register to post replies

Write your reply to:

Draft