PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-35236

Kaleo Forms - Editing a workflow process does not result in loss of data

    Details

    • Type: Regression Bug Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.20 EE GA2, 6.1.30 EE GA3
    • Fix Version/s: 6.1.30 EE GA3
    • Labels:
      None
    • Environment:
      Tomcat 7 + MySQL 5. Portal 6.1.x EE GIT ID: b122b5822bce7f95e38e75b05aa53362f5a0947b.
      Plugins 6.1.x EE GIT ID: 68b88de27c8ef6a51a44239ac012a57c4164748d.
    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 1 results 

      Description

      Prerequisites: kaleo-web, kaleo-designer, kaleo-upgrade-hook, and kaleo-forms plugins have been deployed.

      Steps to reproduce:
      1. Add Kaleo Forms portlet
      2. Click Processes > Add
      3. Enter the following:
      Name: Process 1
      Description: Process 1
      4. Click Select below Entry Definition (Required) > Add
      5. Enter the following:
      Name: Definition 1
      Description: Definition 1
      6. Click and drag the following fields and Save

      • Text
      • Text Box
      • Date
      • Integer

      7. Select Definition 1
      8. Click Select below Initial Form (Required) > Add
      9. Enter the following:
      Name: Form 1
      Description: Form 1
      10. Click Save and select Form 1
      11. Click Select below Workflow
      12. Click Single Approver > Save [assert Process 1 displays]
      13. Click Summary > Submit New > Process 1
      14. Enter the following and Save
      Text: Test 1
      Text Box: Test 1
      Date: 03/12/2012
      Integer: 9
      15. Click My Pending Requests [assert Process 1 displays that task is in Review]
      16. Click Processes > Actions near Process 1 > Edit
      17. Assert system displays "Updating an entry definition, initial form, or workflow will cause loss of data."
      18. Click Select near Definition 1
      19. Assert system displays the warning "Updating an entry definition, initial form, or workflow will cause loss of data. Do you want to proceed with the update?"
      20. Click OK
      21. Click Actions near Definition 1 > Edit
      22. Click and drag a Radio field > Save
      23. Close the Entry Definitions window
      24. Click Select near Initial Form > Select Form 1
      25. Click Save > Summary > Submit New > Process 1
      26. Assert task for Process 1 does not display

      Expected result:
      Task for Process 1 does not display after Editing.

      Actual result:
      Task for Process 1 displays after Editing.

      1. actual.PNG
        21 kB
      2. expected.PNG
        69 kB

        Issue Links

          Activity

          Hide
          Marcellus Tavares added a comment -

          Hi Robert, the loss of data occurs if you change the value of the entry definition or workflow for the Process.

          If you just change the content of the entry definition (adding/updating/deleting a field) the process data will not be deleted.

          Show
          Marcellus Tavares added a comment - Hi Robert, the loss of data occurs if you change the value of the entry definition or workflow for the Process. If you just change the content of the entry definition (adding/updating/deleting a field) the process data will not be deleted.
          Hide
          Robert Srisam-ang (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7 + MySQL 5. Portal 6.1.x EE GIT ID: cfb7ea5d49ef3eef2f838bcd29a60206bc1b3ece.
          Plugins 6.1.x EE GIT ID: fa02e013a72c8f3b16248981608e2ea49c497e27.

          See Marcellus's comment. User can now see "Assigned to Me" and "Assigned to My Roles" sections on the Summary tab.

          Show
          Robert Srisam-ang (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7 + MySQL 5. Portal 6.1.x EE GIT ID: cfb7ea5d49ef3eef2f838bcd29a60206bc1b3ece. Plugins 6.1.x EE GIT ID: fa02e013a72c8f3b16248981608e2ea49c497e27. See Marcellus's comment. User can now see "Assigned to Me" and "Assigned to My Roles" sections on the Summary tab.

            People

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

              Dates

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

                Development

                  Structure Helper Panel