flowable / flowable/flowable-engine

tenant user can not start process instance in task application

Ouverte
#2,292 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
9.5k
Forks
2.9k
Merge moyen
7 h 8 min
PR mergées (30 j)
2

Description

**Describe the bug**
This is a bug about flowable applications.
A app model with a process model and some form models is created by a tenant user in modeler application, then publish it to task application, but the process can't be started by the same tenant user though.
The exception is FlowableObjectNotFoundException: no form definitions deployed with key 'xxxForm'.
The cause is no tanent is set when starting process instance in FlowableProcessInstanceService.startNewProcessInstance()

**Expected behavior**
Expect a tenant user can start a process instance in task application.

**Code**
FlowableProcessInstanceService.startNewProcessInstance()

**Additional context**
version: 6.5.0
database: mysql5.2
application: flowable modeler, task, idm applications

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by reading FlowableProcessInstanceService.startNewProcessInstance() and trace how the tenant context is handled when the task application starts a process. Reproduce the tenant-user flow described across the modeler and task applications, then verify that the tenant user can start the published process without the missing form-definition exception.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java, mysql
Domaine
backend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.