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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3, 5.4-milestone-1, 5.2.3
    • Fix Version/s: 7.3-rc-1, 6.4.6, 7.1.3
    • Component/s: Tag
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: