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

Fail to publish a side by side translation: Keep draft status

    Description

    Test case 1

    Simpler steps to Reproduce:

    1. Go to Site Menu > Content & Data > Web Content
    2. Add a new Web Content
    3. Click on the icon ellipsis of the Web Content created and select Translate
    4. Choose a language to translate(es-ES) and click on "Publication"
    5. Go to Site Menu > Content & Data > Translation Processes
    6. Assert the Status column of the respective translation processes

    Expected Result:
    The translation should be published.

    Actual Result:
    The status of this translation is Draft.
    Go back to Web Content, check the web content translation for es-ES is still 'Untranslated'.

    Test case 2

    Description:
    Draft and Pending tasks features are swapped in Translation Process

    Steps to Reproduce:

    1. Go to Open Menu > Workflow > Process Builder
    2. Assign Single Approver to Translation
    3. Go to Site Menu > Content & Data > Web Content
    4. Add a new Web Content
    5. Click on the icon ellipsis of the Web Content created and select Translate
    6. Choose the language to translate and click on "Submit for publication"
    7. Go to Site Menu > Content & Data > Translation Processes
    8. Assert the Status column of the respective translation processes (Scenario 1)
    9. Go to Site Menu > Content & Data > Web Content
    10. Add another Web Content
    11. Click on the icon ellipsis of the Web Content created and select Translate
    12. Choose the language to translate and click on "Save as draft"
    13. Go to Site Menu > Content & Data > Translation Processes
    14. Assert the Status column of the respective translation processes (Scenario 2)

    Expected Result:
    (Scenario 1) - The Status column should show "Pending" and the workflow respected, submit the task to My Workflow Tasks area too only for pending tasks.

    (Scenario 2) - The Status column should show "Draft" and the workflow respected, don't submit the task to My Workflow Tasks area.

    Actual Result:
    (Scenario 1) - The Status column shows "Draft" and the task is submitted to My Workflow Tasks area.

    (Scenario 2) - The Status column shows "Pending" and the workflow isn't respected, the task isn't submitted to My Workflow Tasks area.

    Verified on master: 7b39ffc16e2931aac344173635c62d16da449c82

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            yvonne.han Yvonne Han
            Reporter:
            lucas.falcao Lucas Falcao
            Participants of an Issue:
            Recent user:
            Yvonne Han
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              6 weeks ago

                Packages

                Version Package
                Master