flowable / flowable/flowable-engine
Spring Boot Beans not found through Delegate Expression ServiceTasks after upgrade from 6.6.0 to 6.7.1
- Lingua principale
- Java
- Stelle
- 9.5k
- Fork
- 2.9k
- Merge medio
- 7h 8m
- PR unite (30g)
- 2
Descrizione
After upgrades to both Spring Boot as well as Flowable, Delegate Expressions are not resolved.
Spring Boot 2.5.6 with embedded Flowable 6.7.1 through the starters.
Hoping for some tips before i start dissecting this :
doesn’t find bean “myBean” through DelegateExpressionUtil.
Exception thrown in JuelExpression:
throw new FlowableException("Unknown property used in expression: " + expressionText, pnfe);
Adding the bean manually in my customProcessEngineConfigurer resolves the issue.
Did something fundamental change?
What is the point of this?
SpringProcessEngineConfigurator:
if (springProcessEngineConfiguration.getBeans() == null) {
springProcessEngineConfiguration.setBeans(springProcessEngineConfiguration.getBeans());
}
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia con SpringProcessEngineConfigurator, DelegateExpressionUtil e JuelExpression, usando l'XML di service-task fornito e la configurazione Spring Boot 2.5.6/Flowable 6.7.1 per riprodurre il bean mancante. Confronta la registrazione del bean con il percorso di aggiornamento dalla 6.6.0 alla 6.7.1; il lavoro è completato quando ${myBean} viene risolto senza registrazione manuale in customProcessEngineConfigurer.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, spring-boot
- Ambito
- backend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100