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

The Workflow was not enabled in the Form when changing it and performing the Unpublish + Publish actions

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.1.X, Master
    • Fix Version/s: Master
    • Component/s: Forms
    • Labels:
      None
    • Fix Priority:
      4
    • Sprint:
      Forms_7.2_16

      Description

      Summary:

      The Workflow was not enabled in the Form when changing it and performing the Unpublish + Publish actions.

      Steps to reproduce:

      1. Go to Content > Forms;
      2. Add a new form with a Text Field;
      3. Publish the form;
      4. Enable Workflow in a Form;
      5. Click at Unpublish;
      6. Click at Publish;
      7. Go to Publication URL and submit a form entry;
      8. Notice that the Submit button was not changed to "Submit for Publication" (NOT OK);
      9. Submit a form entry;
      10. Go to Forms entries and see that entries are in Approved status (NOT OK);

      Expected result:

      The Workflow should be enabled in the Form when changing it and performing the Unpublish + Publish actions. 

      Actual result:

      The Workflow was not enabled in the Form when changing it and performing the Unpublish + Publish actions.
      NOTE: If the user Save the forms and then Unpublish + Publish again the workflow change will be changed as expected.

      Reproducible On:

      Master:
      Commit: 1d77a82c37638a134b499f6e3000169beaf46317
      Updated on: Thu Feb 14 15:16:34 2019 -0800

      And

      7.1.X:
      Commit: e17408c2e5cb3dbab008f3d0f1270bb6ebcf2ccb
      Base Branch Commit: fdb82cf915178f65bdf94535db5489c0b03a4920
      Updated on: Thu Feb 14 10:40:38 2019 -0800

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alex.candido Alex Candido
              Reporter:
              alex.candido Alex Candido
              Participants of an Issue:
              Recent user:
              Alex Candido
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 1 week, 1 day ago

                  Packages

                  Version Package
                  Master