Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-20331

Stencil_Set_id not updated when a new app version using a new custom stencil in existing task form is imported

    Details

    • ACT Numbers:

      00984358

      Description

      Description
      Forms with custom stencils are not working correctly after an app containing those is imported as new version, whereas an older existing version of the contained form used default stencils.

      Steps to reproduce

      1. Via the App Designer in activiti-app import the attached app "test-no_stencil.zip" and publish it 
        NOTE: The app comes with a simple process having a user task and the task having a form using the default form stencil.
      2. From the published app start a new process instance and inspect the user task from.
      3. Check result
      4. Import the app test-stencil.zip, this time the one with stencil and publish it
      5. Create a process instance and execute the user task
      6. Check result

      Expected Behaviour

      • All form fields should render without problems

      Observed Behaviour

      • The field using a custom stencil is not rendered and shows "unknown field type"

      Supporting evidence

      • Reproduced with current latest APS version
      • The problem seems to be when importing the new app version, the database isn't correctly updated
        => The form stencil is updtaed correctly in the STENCIL_SET table with a STENCIL SET ID
        => The STENCIL SET ID is set to null for the updated model in the MODEL table anyways instead of pointing to the correct STENCIL SET ID

       

       

        Attachments

        1. expected_step_3.png
          expected_step_3.png
          81 kB
        2. expected_step_7.png
          expected_step_7.png
          93 kB
        3. observed_step_7.png
          observed_step_7.png
          94 kB
        4. test_with_stencil.zip
          7 kB
        5. test-no_stencil.zip
          6 kB

          Structure

            Activity

              People

              • Assignee:
                dgruber Doug Gruber
                Reporter:
                apetrache Alin Petrache
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Structure Helper Panel