Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-130912

Getting Site Page information through APIs contains value_i18n properties without adding the X-Accept-All-Languages header

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Headless Delivery API
    • Labels:
      None

      Description

      If you get a Site Page via Headless Delivery API, the response contains value_i18n properties, even if the X-Accept-All-Languages is not present, and some value properties are not present.

      Steps to reproduce:

      1. *Make a GET request to http://localhost:8080/o/headless-delivery/v1.0/sites/\{SITE_ID}/site-pages/home with a valid SITE_ID*

      Result:

      Response has some value_i18n properties and some missing values properties

      Expected Result:

      Response has all the values properties and doesn't have value_i18n properties

      If the X-Accept-All-Languages header is used the value_i18n properties appear

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            javier.dearcos Javier de Arcos Velilla
            Participants of an Issue:
            Recent user:
            Javier de Arcos Velilla
            Engineering Assignee:
            Javier de Arcos Velilla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              28 weeks, 4 days ago

                Packages

                Version Package
                Master