jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
561 stars 118 forks source link

Tags are highlighted in red in BPMN Process #597

Open reznikova21 opened 2 years ago

reznikova21 commented 2 years ago

Environment: Jmix version: 1.1.0 Jmix Studio plugin version: 1.1.SNAPSHOT3818-213 IntelliJ version: IntelliJ IDEA 2021.3 RC (Community Edition) MacOS The bug isn't reproduced in IDEA 212

STEPS:

  1. Create new jmix project
  2. Add BPM add-on
  3. New > BPMN Process > OK

ER: Tags should not be highlighted in red

AR: Tags are highlighted in red image

konyashkina commented 2 years ago

allerød

gorbunkov commented 4 months ago

Fixed in https://youtrack.jmix.io/issue/JST-2401

tmusin commented 2 months ago

The highlighting of the xmlns:jmix="http://jmix.io/schema/bpm/bpmn" attribute was not fixed. Developers still complain about this when they encounter other issues in Studio Modeler.

tmusin commented 3 weeks ago
Jmix properties schema JSON: ` { "name": "Jmix BPM", "uri": "http://jmix.io/schema/bpm/bpmn", "prefix": "jmix", "xml": { "tagAlias": "lowerCase" }, "types": [ { "name": "BpmAssignable", "extends": ["bpmn:UserTask"], "properties": [ { "name": "assigneeSource", "isAttr": true, "type": "String" }, { "name": "assigneeValue", "isAttr": true, "type": "String" }, { "name": "candidateGroupsSource", "isAttr": true, "type": "String" }, { "name": "candidateGroupsValue", "isAttr": true, "type": "String" }, { "name": "candidateUsersSource", "isAttr": true, "type": "String" }, { "name": "candidateUsersValue", "isAttr": true, "type": "String" } ] }, { "name": "FormData", "superClass": ["Element"], "meta": { "allowedIn": [ "bpmn:UserTask", "bpmn:StartEvent" ] }, "properties": [ { "name": "type", "type": "String", "isAttr": true }, { "name": "openMode", "type": "String", "isAttr": true }, { "name": "screenId", "type": "String", "isAttr": true }, { "name": "businessKey", "type": "String", "isAttr": true }, { "name": "formParams", "type": "FormParams" }, { "name": "formFields", "type": "FormFields" }, { "name": "formOutcomes", "type": "FormOutcomes" } ] }, { "name": "FormFields", "superClass": ["Element"], "properties": [ { "name": "values", "type": "FormField", "isMany": true } ] }, { "name": "FormField", "superClass": ["Element"], "properties": [ { "name": "id", "isAttr": true, "type": "String" }, { "name": "caption", "isAttr": true, "type": "String" }, { "name": "type", "isAttr": true, "type": "String" }, { "name": "editable", "isAttr": true, "type": "Boolean" }, { "name": "required", "isAttr": true, "type": "Boolean" }, { "name": "properties", "type": "FormFieldProperty", "isMany": true }, { "name": "enumValues", "type": "FormFieldEnumValue", "isMany": true } ] }, { "name": "FormFieldProperty", "superClass": [ "Element" ], "properties": [ { "name": "name", "type": "String", "isAttr": true }, { "name": "value", "type": "String", "isAttr": true }, { "name": "system", "type": "Boolean", "isAttr": true } ] }, { "name": "FormFieldEnumValue", "superClass": [ "Element" ], "properties": [ { "name": "value", "type": "String", "isAttr": true }, { "name": "caption", "type": "String", "isAttr": true } ] }, { "name": "FormParams", "superClass": ["Element"], "properties": [ { "name": "values", "type": "FormParam", "isMany": true } ] }, { "name": "FormParam", "superClass": ["Element"], "properties": [ { "name": "name", "isAttr": true, "type": "String" }, { "name": "value", "isAttr": true, "type": "String" }, { "name": "valueSource", "isAttr": true, "type": "String" } ] }, { "name": "FormOutcomes", "superClass": ["Element"], "properties": [ { "name": "values", "type": "FormOutcome", "isMany": true } ] }, { "name": "FormOutcome", "superClass": ["Element"], "properties": [ { "name": "id", "isAttr": true, "type": "String" }, { "name": "caption", "isAttr": true, "type": "String" }, { "name": "icon", "isAttr": true, "type": "String" }, { "name": "outcomeParams", "type": "OutcomeParam", "isMany": true } ] }, { "name": "OutcomeParam", "superClass": ["Element"], "properties": [ { "name": "name", "isAttr": true, "type": "String" }, { "name": "value", "isAttr": true, "type": "String" } ] }, { "name": "ConditionDetails", "superClass": ["Element"], "meta": { "allowedIn": [ "bpmn:SequenceFlow" ] }, "properties": [ { "name": "conditionSource", "type": "String", "isAttr": true }, { "name": "conditionType", "type": "String", "isAttr": true }, { "name": "userTaskId", "type": "String", "isAttr": true }, { "name": "userTaskOutcome", "type": "String", "isAttr": true }, { "name": "businessRuleTaskId", "type": "String", "isAttr": true }, { "name": "decisionTableOutputVariableName", "type": "String", "isAttr": true }, { "name": "decisionTableOutputValue", "type": "String", "isAttr": true } ] }, { "name": "BpmServiceTask", "extends": ["bpmn:ServiceTask"], "properties": [ { "name": "taskType", "isAttr": true, "type": "String" }, { "name": "beanName", "isAttr": true, "type": "String" } ] }, { "name": "BpmSendTask", "extends": ["bpmn:SendTask"], "properties": [ { "name": "taskType", "isAttr": true, "type": "String" }, { "name": "beanName", "isAttr": true, "type": "String" } ] }, { "name": "SpringBean", "superClass": ["Element"], "meta": { "allowedIn": [ "bpmn:ServiceTask" ] }, "properties": [ { "name": "beanName", "type": "String", "isAttr": true }, { "name": "methodName", "type": "String", "isAttr": true }, { "name": "methodParams", "type": "MethodParam", "isMany": true } ] }, { "name": "MethodParam", "superClass": ["Element"], "properties": [ { "name": "name", "isAttr": true, "type": "String" }, { "name": "type", "isAttr": true, "type": "String" }, { "name": "value", "isBody": true, "type": "String" }, { "name": "isVariable", "isAttr": true, "type": "Boolean" } ] }, { "name": "BpmMultiInstanceLoopCharacteristics", "isAbstract": true, "extends": ["bpmn:MultiInstanceLoopCharacteristics"], "properties": [ { "name": "collectionSource", "type": "String", "isAttr": true }, { "name": "collectionValue", "type": "String", "isAttr": true } ] }, { "name": "ProcessVariables", "superClass": ["Element"], "meta": { "allowedIn": [ "bpmn:StartEvent" ] }, "properties": [ { "name": "values", "type": "ProcessVariable", "isMany": true } ] }, { "name": "ProcessVariable", "superClass": ["Element"], "properties": [ { "name": "name", "isAttr": true, "type": "String" }, { "name": "type", "isAttr": true, "type": "String" }, { "name": "properties", "type": "ProcessVariableProperty", "isMany": true } ] }, { "name": "ProcessVariableProperty", "superClass": [ "Element" ], "properties": [ { "name": "name", "type": "String", "isAttr": true }, { "name": "value", "type": "String", "isAttr": true } ] }, { "name": "AssignmentDetails", "superClass": ["Element"], "meta": { "allowedIn": [ "bpmn:Lane" ] }, "properties": [ { "name": "assigneeSource", "type": "String", "isAttr": true }, { "name": "assigneeValue", "type": "String", "isAttr": true }, { "name": "assignee", "type": "String", "isAttr": true }, { "name": "candidateUsers", "type": "String", "isAttr": true }, { "name": "candidateUsersValue", "type": "String", "isAttr": true }, { "name": "candidateUsersSource", "type": "String", "isAttr": true }, { "name": "candidateGroups", "type": "String", "isAttr": true }, { "name": "candidateGroupsValue", "type": "String", "isAttr": true }, { "name": "candidateGroupsSource", "isAttr": true, "type": "String" } ] }, { "name": "BpmProcess", "isAbstract": true, "extends": [ "bpmn:Process" ], "properties": [ { "name": "candidateGroupsSource", "isAttr": true, "type": "String" }, { "name": "candidateStarterGroupsValue", "isAttr": true, "type": "String" }, { "name": "candidateUsersSource", "isAttr": true, "type": "String" }, { "name": "candidateStarterUsersValue", "isAttr": true, "type": "String" } ] }, { "name": "Properties", "superClass": ["Element"], "properties": [ { "name": "values", "type": "Property", "isMany": true } ] }, { "name": "Property", "superClass": ["Element"], "properties": [ { "name": "name", "isAttr": true, "type": "String" }, { "name": "value", "isAttr": true, "type": "String" } ] } ], "emumerations": [], "associations": [] }; `