Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-734

RedirectTemplateModel should use MagnoliaTemplatingUtilities.createLink() to build redirect URL

    XMLWordPrintable

Details

    • Yes

    Description

      info.magnolia.module.templatingkit.templates.RedirectTemplateModel should be updated to use MagnoliaTemplatingUtilities.createLink() to build the redirect URL for two reason:

      1. It should be identical to how the redirect.ftl template builds it for display
      2. Currently the URL is built without the ".html" extension. While this may still work in many cases, it actually causes problems with Blossom paragraphs where they are not loaded properly.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgrilli Federico Grilli
              bkazazes Brad Kazazes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: