Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9938

Adding a tag to a document which contains translations will display several times the same document as containing the tag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.3-rc-1, 6.4.6, 7.1.3
    • 5.3, 5.4-milestone-1, 5.2.3
    • Tag
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      • go to Main.Welcome page (which has translations in almost all supported langauges)
      • Add a tag, let's say "foo"
      • On Main.Welcome, click on the tag to go to the tag page.

      You will see that Main.Welcome is listed many times, because of the translations.

      Note: Multilingual is set to NO, Supported languages has only en, and default language is en.

      From a technical POV, it seems that $xwiki.tag.getDocumentsWithTag($tag)) does not return only unique pages.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              sorinello Sorin Burjan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: