Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-6234

Service task with nonstandard name is not displayed on the canvas

    XMLWordPrintable

Details

    • NEW
    • NEW
    • Hide
      1. Create Wid definition with non standard name:
          [
            "name" : "SOmeName `12~!#!@$#@$#@%$#^$%&^%&^&(&)()()+_)|}{|';';/.,:{|}", 
            "parameters" : [ 
                "MyFirstParam" : new StringDataType(), 
                "MySecondParam" : new StringDataType(), 
                "MyThirdParam" : new ObjectDataType() 
            ], 
            "results" : [ 
                "Result" : new ObjectDataType("java.util.Map") 
            ], 
            "displayName" : "My Task", 
            "icon" : "../../../global/defaultemailicon.gif" 
          ]
        
      2. Create Business Process
      3. Try to add "My Task" service task

      Actual Result:
      Error (1) will be shown in browser console log, no tasks will be added to Business Process
      (1)

      VM4313 designer-lib.js:449 Uncaught TypeError: Cannot read property 'cloneNode' of undefined
          at a.view (VM4333 designer-core.js:2332)
          at a.construct (VM4333 designer-core.js:4072)
          at a (VM4333 designer-core.js:428)
          at a.createShape (VM4333 designer-core.js:845)
          at Object.createShape (VM4313 designer-lib.js:105)
          at a.execute (VM4339 designer-plugins.js:1772)
          at VM4333 designer-core.js:666
          at VM4313 designer-lib.js:446
          at Array._each (VM4313 designer-lib.js:671)
          at Array.each (VM4313 designer-lib.js:445)

      Expected Result:
      Service task will be added to the Canvas, no errors appear in the browser console log.

      Show
      Create Wid definition with non standard name: [ "name" : "SOmeName `12~!#!@$#@$#@%$#^$%&^%&^&(&)()()+_)|}{| ';' ;/.,:{|}" , "parameters" : [ "MyFirstParam" : new StringDataType(), "MySecondParam" : new StringDataType(), "MyThirdParam" : new ObjectDataType() ], "results" : [ "Result" : new ObjectDataType( "java.util.Map" ) ], "displayName" : "My Task" , "icon" : "../../../global/defaultemailicon.gif" ] Create Business Process Try to add "My Task" service task Actual Result: Error (1) will be shown in browser console log, no tasks will be added to Business Process (1) VM4313 designer-lib.js:449 Uncaught TypeError: Cannot read property 'cloneNode' of undefined at a.view (VM4333 designer-core.js:2332) at a.construct (VM4333 designer-core.js:4072) at a (VM4333 designer-core.js:428) at a.createShape (VM4333 designer-core.js:845) at Object.createShape (VM4313 designer-lib.js:105) at a.execute (VM4339 designer-plugins.js:1772) at VM4333 designer-core.js:666 at VM4313 designer-lib.js:446 at Array._each (VM4313 designer-lib.js:671) at Array.each (VM4313 designer-lib.js:445) Expected Result: Service task will be added to the Canvas, no errors appear in the browser console log.
    • 2017 Week 30-31

    Attachments

      Activity

        People

          rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
          kgaevski@redhat.com Kirill Gaevskii
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: