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

Replace workaround to create i18n URIs in page editor

XMLWordPrintable

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

      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));
      

        Acceptance criteria

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

                Created:
                Updated: