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

    • Bug
    • Status: Verified
    • Resolution: Unresolved
    • Master
    • Master
    • Headless Delivery API
    • 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

        1. response_example.json
          18 kB
          Javier de Arcos Velilla

        Activity

          People

            support-lep@liferay.com SE Support
            javier.dearcos Javier de Arcos Velilla
            Kiyoshi Lee Kiyoshi Lee
            Javier de Arcos Velilla Javier de Arcos Velilla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              28 weeks, 1 day ago

              Packages

                Version Package
                Master