Bug 853042 - Guvnor - BPMN2 Web Editor: No EnumDataType or ListDataType editor
Summary: Guvnor - BPMN2 Web Editor: No EnumDataType or ListDataType editor
Keywords:
Status: NEW
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: manstis
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-30 10:57 UTC by Johnathan Ingram
Modified: 2023-05-01 08:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Feature Request
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker PRODMGT-233 0 Major Pending Product Management Triage Add support for ListDataType/EnumDataType to Guvnor - BPMN2 Web Editor 2017-07-04 23:51:52 UTC

Description Johnathan Ingram 2012-08-30 10:57:42 UTC
Description of problem:
When defining a work item definition that uses 
  org.drools.process.core.datatype.impl.type.EnumDataType
  org.drools.process.core.datatype.impl.type.ListDataType

The web editor for BPMN2 does not contain an editor to be able to assign pre-defined enums or create a new list of defined objects to assign to the parameters defined in the work ite,

Version-Release number of selected component (if applicable):
5.3

How reproducible:

import org.drools.process.core.datatype.impl.type.BooleanDataType;
import org.drools.process.core.datatype.impl.type.EnumDataType;
import org.drools.process.core.datatype.impl.type.ListDataType;
import org.drools.process.core.datatype.impl.type.StringDataType;
[
  [
    "name" : "JBpm5ESBDef7",
    "parameters" : [
      "ServiceCategory" : new StringDataType(),
      "ServiceName" : new StringDataType(),
      "AdvancedMapping" : new ListDataType(StringDataType()),
      "CompleteTask" : new EnumDataType("x.y"), 
      "FromUri" : new StringDataType(),
      "RelatesToUri" : new StringDataType(),
      "ActionUri" : new StringDataType(),
      "ReplyToUri" : new StringDataType(),
      "FaultToUri" : new StringDataType()
    ],
    "displayName" : "JBpm5ESBDef7",
    "icon" : "",
    "eclipse:customEditor" : "org.drools.eclipse.flow.common.editor.editpart.work.SampleCustomEditor",
    "category" : "ESB Integration",
    "defaultHandler" : "org.rogueware.jboss.middleware.brms.domain.services.soa.esb.tasks.EsbInvokeServiceWorkItem"
  ]
]

Try assign AdvancedMapping and CompleteTask in web editor.


Expected results:
Editor supposed to present drop down of enum values
Editor supposed to allow multi-valies (list)

Additional info:
These items are also not found in the documentation anywhere.
Make its difficult to work with.


Note You need to log in before you can comment on or make changes to this bug.