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

Kaleo Forms Documents and Media Fields Duplicate upon Modification

    Details

      Description

      Description:

      There is an issue with editing Kaleo Forms Admin Processes in a Workflow. This only occurs when using repeatable Documents and Media fields. If the Processes are edited by the approver after being submitted, the Documents and Media fields duplicate, showing new documents as well as old ones.

       

      Steps to Reproduce:

      1. Use master-private.
      2. Startup Liferay
      3. Navigate to
        Site Name → Content → Kaleo Forms Admin
      1. Click the Ellipsis menu at the top right and select Manage Field Sets
      2. Create a new Field Set with a Text section, a repeatable Documents and Media section, and a Boolean section
      3. Create a new Process using the new Field Set and Single Approver workflow
      4. Select the new Process, add a new Form with 2+ documents, and submit for approval
      5. Under Notifications, select the Process and assign it to yourself
      6. Replace the documents that were uploaded with new ones
      7. Preview the changes

      Expected Results:

      The new documents with replace the old ones.

      Actual Results:

      The new documents are partially added to the new ones so you will see a seemingly random combination of new and old documents. They increase each time it is edited.

      Branch:

      Reproducible in 7.0.x-private

      70x-private-088abef06d7bb6b3edad7372b41a4c5c45fee477:80

      Master:

      master-private-f63d92f046ae60549cf8ad59a107b3a94133512c

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 15 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP59
                  7.0.0 DXP SP9
                  7.0.X
                  7.1.X
                  7.2.X
                  Master