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

Draft of a form changes the workflow definition

    Details

      Description

      Steps to reproduce:

      1. Go to Content & Data > Forms;
      2. Click to add a new form;
      3. Add a text field to the form;
      4. Go to its settings and change the workflow from "No Workflow" to "Single Approver";
      5. Publish the form;
      6. Enter the given URL and submit an entry for publication;
      7. Go to the form's entries page and check that your entry is pending;
      8. Go back to edit the form;
      9. Change its workflow setting to "No Workflow" now;
      10. Add another field to the form, but don't save it. Wait for the autosave to kick in (you'll notice a message on the header of the page with the time of when the draft was saved);
      11. Now, enter the form's URL again to fill another entry;
      12. First, check that there's only one text field as expected;
      13. Submit another entry;
      14. Finally, go back to see the form's entries.

      Expected behavior:
      There should be two entries with pending status.

      Actual behavior:
      The first entry is pending and the last one is approved due to the fact that the autosave feature changed the workflow of the form without the user telling the app to explicitly publish that change.

        Attachments

          Activity

            People

            Assignee:
            leticia.chiu Leticia Chiu (Inactive)
            Reporter:
            rodrigo.paulino Rodrigo Paulino
            Participants of an Issue:
            Recent user:
            Tomáš Polešovský
            Engineering Assignee:
            Rodrigo Paulino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              51 weeks, 2 days ago

                Packages

                Version Package
                7.3.X
                7.4.13 DXP GA1
                7.4.3.4 CE GA4
                Master