Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-573

Replace workaround to create i18n URIs in page editor

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      PAGES-563 removed a usage of deprecated method with hardcoding the original implementation of the method into PageEditorStatus.

      We know have a replacement method introduced by MAGNOLIA-8311 we can use instead of the copy/paste.

      String contextPath = webContextProvider.get().getContextPath();
      String link = LinkUtil.createAbsoluteLink(node);
      link = StringUtils.removeStart(link, contextPath);
      return contextPath + (locale == null ? link : i18NAuthoringSupport.toI18NURI(link, locale));
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                rkovarik Roman Kovařík
                AuthorX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD