Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-2421

When new for is created with the same name as some existing form, it overwrites the existing form

XMLWordPrintable

      Description of problem:
      This worked correctly up to BPMS 6.0.1 ER1, but is now broken in ER2.
      The correct (and expected) behavior in ER1 was: when you try to create new form named X in some package, that already contains form with that name X, you got modal dialog with error: "Sorry, an item of that name already exists in the repository. Please choose another."

      Now in ER2 it does the following: it opens new, empty form, which overwrites all the data in the existing form. If you check the underlying git repository, you can see, that the existing form was overwritten by new, empty form with the same name.

      Version-Release number of selected component (if applicable):
      BPMS 6.0.1 ER2

      How reproducible:
      Always

      Steps to Reproduce:
      1. Create some form, make some edits and save it
      2. Create new form with exactly the same name as you created in 1

      Actual results:
      New form is created, overwriting all the content you had in the previous form

      Expected results:
      It should behave as it did in ER1 and prior versions (user should get a modal with warning and no new form should be created)

              rh-ee-pefernan Pere Fernandez Perez
              jhrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Michael Biarnes Kiefer, Rajesh Rajasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: