flowable / flowable/flowable-engine
tenant user can not start process instance in task application
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 9.5k
- フォーク
- 2.9k
- 平均マージ
- 7時間 8分
- マージ済み PR(30日)
- 2
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず FlowableProcessInstanceService.startNewProcessInstance() を読み、task application がプロセスを開始するときに tenant context がどのように処理されるかを追跡します。modeler application と task application にまたがって説明されている tenant user のフローを再現し、その後、tenant user が missing form-definition exception なしで公開済みプロセスを開始できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, mysql
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100