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

Create and update localized content with all translations in one request

    Details

      Description

      As an API consumer

      I want to create a content with all the translations in one request

      so that I optimize the requests

       

      Acceptance criteria

      Given a localized entity (for example a vocabulary)

      When a user creates a vocabulary

      And sends "_i18n" fields with several translations

      Then the vocabulary is created with all the languages included

       

      Given a localized entity (for example a vocabulary)

      When a user updates a vocabulary

      And sends "_i18n" fields with several translations

      Then the vocabulary is updated with all the languages included (either modifying or adding the translations)

       

      Given a localized entity (for example a vocabulary)

      When a user creates a vocabulary with the following values

      title set to "my vocab"

      title_i18n set to

      "en-US": my vocab

      description_18n set to 

      "en-US" : "my description"

      "es-ES": "mi descripción"

      Then the vocabulary is not created and an error message is return informing the user that title for Spanish is missing

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              javier.dearcos Javier de Arcos Velilla
              Reporter:
              pablo.agulla Pablo Agulla
              Engineering Assignee:
              Product Team Headless Experience
              Recent user:
              Enterprise Release HU
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.0.X
                  7.1.X
                  7.2.X
                  Master