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

The page REST resource doesn't always include the default page language

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.10.4
    • Fix Version/s: 11.10.5, 12.4-rc-1
    • Component/s: REST
    • Labels:
    • Tests:
      Unit
    • Development Priority:
      High
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The default page language (locale) is included in the REST response only if the page has at least one existing translation, which doesn't make any sense. We can have a page without any translations that has the default locale specified to some value that we should be able to get through REST.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                mflorea Marius Dumitru Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: