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

DocumentAccessBridge#getDocument is very missleading

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 10.2, 9.11.4
    • 9.11.2
    • Bridge, Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      It actually returns a translation based on the context locale.

      It used to return de default document but was broken by XWIKI-6627 and it's too late to fix it now.

      I will just deprecated it and introduce a more explicit getTranslatedDocument and find a new name for the proper method that return the default document.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: