Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4422

Custom Data Object in multiple variables causes error in case project

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Release Notes
    • Hide
      1. Create Case definition in Case project.
      2. Create Custom Data Object in the same project.
      3. Add process variable (procVar) and case file variable (caseVar) with the same CustomDataObject type.
      4. Save the changes.
      5. Create multiple instance node or Data Object on canvas.
      6. In Multiple instance node, set MI Collection input/output and try to change Data Input/Output type. In Data Data Object (on canvas), try to change Data Type.

      Actual result

      Chrome:

      • It is not possible to set the type with the first click (custom type is chosen).

      Firefox:

      • An unexpected error occurs.

      Expected result

      It is possible to set the type properly.
      No errors occur.

      Show
      Create Case definition in Case project. Create Custom Data Object in the same project. Add process variable ( procVar ) and case file variable ( caseVar ) with the same CustomDataObject type. Save the changes. Create multiple instance node or Data Object on canvas. In Multiple instance node, set MI Collection input/output and try to change Data Input/Output type. In Data Data Object (on canvas), try to change Data Type. Actual result Chrome: It is not possible to set the type with the first click (custom type is chosen). Firefox: An unexpected error occurs. Expected result It is possible to set the type properly. No errors occur.
    • ---
    • ---

    Description

      Custom Data Object in multiple variables causes error in case project.

      UI exception:

      Uncaught exception: Exception caught: Duplicate value: CustomDataObject [com.myspace.caseproject] Caused by: Duplicate value: CustomDataObject [com.myspace.caseproject]
      

      Server.log:

      [org.kie.workbench.common.services.backend.logger.GenericErrorLoggerServiceImpl] (default task-2) Error from user: testadmin Error ID: -717182827 Location: LibraryPerspective|$ProjectScreen,EDiagramEditorPropertiesScreen,],org.kie.workbench.common.screens.messageconsole.MessageConsole,,,,AddAssetsScreen,BPMNDiagramEditor?path_uri=default://master@MySpace/CaseProj/src/main/resources/com/myspace/caseproj/caseDef.bpmn&file_name=caseDef.bpmn&has_version_support=true Exception: Uncaught exception: Exception caught: Duplicate value: CustomDataObject [com.myspace.caseproj] Caused by: Duplicate value: CustomDataObject [com.myspace.caseproj]
      

      Attachments

        Activity

          People

            eignatow Eder Ignatowicz
            lterifaj@redhat.com Lubomir Terifaj
            Lubomir Terifaj Lubomir Terifaj
            Lubomir Terifaj Lubomir Terifaj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: