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

Duplicate value exception when working with DataObjects nodes data types

XMLWordPrintable

    • False
    • False
    • User Experience
    • CR1
    • -
    • Undefined
    • Hide

      I did not find a workaround working 100%.

      Show
      I did not find a workaround working 100%.
    • Hide

      1. Create a new project with one data type 'MyDataType'
      2. Create a process and add process variable, global variable with 'MyDataType' as type
      3. Save
      4. Try to set a DataType for DataObject node
      5. UnkownError dialog is shown on UI, error in console log

      Show
      1. Create a new project with one data type 'MyDataType' 2. Create a process and add process variable, global variable with 'MyDataType' as type 3. Save 4. Try to set a DataType for DataObject node 5. UnkownError dialog is shown on UI, error in console log

      Summary
      Duplicate value exception thrown when you try to select a Data Type for DataObject node and
      the DataType is already used in some part of diagram.

      Acceptance criteria
      In no case there is an exception with duplicate values.

      Error:

      12:13:06,161 ERROR [org.kie.workbench.common.services.backend.logger.GenericErrorLoggerServiceImpl] (default task-13) Error from user: krisv Error ID: -1378817662 Location: LibraryPerspective|$EDiagramEditorPropertiesScreen,EProjectDiagramExplorerScreen,],,LibraryOrganizationalUnitsScreen,,ProjectScreen,LibraryScreen,ProjectScreen,org.kie.workbench.common.screens.messageconsole.MessageConsole,AddAssetsScreen,,BPMNDiagramEditor?path_uri=default://master@MySpace/DataObjectDuplicateError/src/main/resources/com/myspace/dataobjectduplicateerror/Test.bpmn&file_name=Test.bpmn&has_version_support=true Exception: Uncaught exception: Exception caught: Duplicate value: MyDataObject [com.myspace.dataobjectduplicateerror] Caused by: Duplicate value: MyDataObject [com.myspace.dataobjectduplicateerror]
      12:13:17,526 ERROR [org.kie.workbench.common.services.backend.logger.GenericErrorLoggerServiceImpl] (default task-13) Error from user: krisv Error ID: -1377860626 Location: LibraryPerspective|$EDiagramEditorPropertiesScreen,EProjectDiagramExplorerScreen,],,LibraryOrganizationalUnitsScreen,,ProjectScreen,LibraryScreen,ProjectScreen,org.kie.workbench.common.screens.messageconsole.MessageConsole,AddAssetsScreen,,BPMNDiagramEditor?path_uri=default://master@MySpace/DataObjectDuplicateError/src/main/resources/com/myspace/dataobjectduplicateerror/Test.bpmn&file_name=Test.bpmn&has_version_support=true Exception: Uncaught exception: Exception caught: Duplicate value: MyDataObject [com.myspace.dataobjectduplicateerror] Caused by: Duplicate value: MyDataObject [com.myspace.dataobjectduplicateerror]
      12:13:27,702 ERROR [org.kie.workbench.common.services.backend.logger.GenericErrorLoggerServiceImpl] (default task-13) Error from user: krisv Error ID: -1357541958 Location: LibraryPerspective|$EDiagramEditorPropertiesScreen,EProjectDiagramExplorerScreen,],,LibraryOrganizationalUnitsScreen,,ProjectScreen,LibraryScreen,ProjectScreen,org.kie.workbench.common.screens.messageconsole.MessageConsole,AddAssetsScreen,,,BPMNDiagramEditor?path_uri=default://master@MySpace/DataObjectDuplicateError/src/main/resources/com/myspace/dataobjectduplicateerror/Test.bpmn&file_name=Test.bpmn&has_version_support=true Exception: Uncaught exception: Exception caught: Duplicate value: MyDataObject [com.myspace.dataobjectduplicateerror] Caused by: Duplicate value: MyDataObject [com.myspace.dataobjectduplicateerror]
      

              Unassigned Unassigned
              dhanak@redhat.com Dominik Hanak
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: